mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
Remove second arg from setBlendLevel
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1953 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -518,18 +518,18 @@ void CFrameBuffer::setBlendMode(uint8_t mode)
|
||||
#endif
|
||||
}
|
||||
|
||||
void CFrameBuffer::setBlendLevel(int blev1, int /*blev2*/)
|
||||
void CFrameBuffer::setBlendLevel(int level)
|
||||
{
|
||||
//printf("CFrameBuffer::setBlendLevel %d\n", blev1);
|
||||
unsigned char value = 0xFF;
|
||||
if((blev1 >= 0) && (blev1 <= 100))
|
||||
value = convertSetupAlpha2Alpha(blev1);
|
||||
|
||||
#ifdef HAVE_COOL_HARDWARE
|
||||
//printf("CFrameBuffer::setBlendLevel %d\n", level);
|
||||
unsigned char value = 0xFF;
|
||||
if((level >= 0) && (level <= 100))
|
||||
value = convertSetupAlpha2Alpha(level);
|
||||
|
||||
if (ioctl(fd, FBIO_SETOPACITY, value))
|
||||
printf("FBIO_SETOPACITY failed.\n");
|
||||
#if 1
|
||||
if(blev1 == 100) // TODO: sucks.
|
||||
if(level == 100) // TODO: sucks.
|
||||
usleep(20000);
|
||||
#endif
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user