mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
comment out never used
This commit is contained in:
@@ -510,11 +510,12 @@ int CFrameBuffer::setMode(unsigned int /*nxRes*/, unsigned int /*nyRes*/, unsign
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
#if 0
|
||||
//never used
|
||||
void CFrameBuffer::setTransparency( int /*tr*/ )
|
||||
{
|
||||
}
|
||||
|
||||
#endif
|
||||
void CFrameBuffer::setBlendMode(uint8_t mode)
|
||||
{
|
||||
#ifdef HAVE_COOL_HARDWARE
|
||||
@@ -539,14 +540,15 @@ void CFrameBuffer::setBlendLevel(int level)
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
#if 0
|
||||
//never used
|
||||
void CFrameBuffer::setAlphaFade(int in, int num, int tr)
|
||||
{
|
||||
for (int i=0; i<num; i++) {
|
||||
cmap.transp[in+i]=tr;
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
void CFrameBuffer::paletteFade(int i, __u32 rgb1, __u32 rgb2, int level)
|
||||
{
|
||||
__u16 *r = cmap.red+i;
|
||||
@@ -927,7 +929,8 @@ bool CFrameBuffer::paintIcon8(const std::string & filename, const int x, const i
|
||||
close(lfd);
|
||||
return true;
|
||||
}
|
||||
|
||||
#if 0
|
||||
//never used
|
||||
#ifdef USE_NEVIS_GXA
|
||||
bool CFrameBuffer::blitToPrimary(unsigned int * data, int dx, int dy, int sw, int sh)
|
||||
{
|
||||
@@ -956,6 +959,7 @@ bool CFrameBuffer::blitToPrimary(unsigned int *, int, int, int, int)
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* paint icon at position x/y,
|
||||
if height h is given, center vertically between y and y+h
|
||||
@@ -1291,7 +1295,8 @@ void CFrameBuffer::paintLine(int xa, int ya, int xb, int yb, const fb_pixel_t co
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#if 0
|
||||
//never used
|
||||
void CFrameBuffer::setBackgroundColor(const fb_pixel_t color)
|
||||
{
|
||||
backgroundColor = color;
|
||||
@@ -1443,7 +1448,7 @@ bool CFrameBuffer::loadBackgroundPic(const std::string & filename, bool show)
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
#endif
|
||||
void CFrameBuffer::useBackground(bool ub)
|
||||
{
|
||||
useBackgroundPaint = ub;
|
||||
@@ -1571,7 +1576,8 @@ void CFrameBuffer::RestoreScreen(int x, int y, int dx, int dy, fb_pixel_t * cons
|
||||
bkpos += dx;
|
||||
}
|
||||
}
|
||||
|
||||
#if 0
|
||||
//never used
|
||||
void CFrameBuffer::switch_signal (int signal)
|
||||
{
|
||||
CFrameBuffer * thiz = CFrameBuffer::getInstance();
|
||||
@@ -1596,13 +1602,15 @@ void CFrameBuffer::switch_signal (int signal)
|
||||
memset(thiz->lfb, 0, thiz->stride * thiz->yRes);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
void CFrameBuffer::Clear()
|
||||
{
|
||||
paintBackground();
|
||||
//memset(getFrameBufferPointer(), 0, stride * yRes);
|
||||
}
|
||||
|
||||
#if 0
|
||||
//never used
|
||||
void CFrameBuffer::showFrame(const std::string & filename)
|
||||
{
|
||||
std::string varpath = "/var/tuxbox/config/neutrino/icons/";
|
||||
@@ -1611,7 +1619,7 @@ void CFrameBuffer::showFrame(const std::string & filename)
|
||||
else
|
||||
videoDecoder->ShowPicture((iconBasePath + filename).c_str());
|
||||
}
|
||||
|
||||
#endif
|
||||
bool CFrameBuffer::Lock()
|
||||
{
|
||||
if(locked)
|
||||
|
Reference in New Issue
Block a user