mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
screensaver: cleanup annoying code block
Origin commit data
------------------
Commit: 6d6c716790
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-10-24 (Sun, 24 Oct 2021)
Origin message was:
------------------
- screensaver: cleanup annoying code block
This commit is contained in:
@@ -408,17 +408,6 @@ void CScreenSaver::paint()
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
#if !HAVE_CST_HARDWARE
|
#if !HAVE_CST_HARDWARE
|
||||||
#if 0
|
|
||||||
// example for callback
|
|
||||||
m_frameBuffer->OnFallbackShowFrame.connect(sigc::bind(sigc::mem_fun(CFrameBuffer::getInstance(),
|
|
||||||
&CFrameBuffer::paintBoxRel),
|
|
||||||
scr_clock->getXPos(), scr_clock->getYPos(),
|
|
||||||
scr_clock->getWidth(), scr_clock->getHeight(),
|
|
||||||
COL_BLACK,
|
|
||||||
0,
|
|
||||||
CORNER_ALL)
|
|
||||||
);
|
|
||||||
#endif
|
|
||||||
m_frameBuffer->showFrame("blackscreen.jpg", CFrameBuffer::SHOW_FRAME_FALLBACK_MODE_CALLBACK | CFrameBuffer::SHOW_FRAME_FALLBACK_MODE_BLACKSCREEN);
|
m_frameBuffer->showFrame("blackscreen.jpg", CFrameBuffer::SHOW_FRAME_FALLBACK_MODE_CALLBACK | CFrameBuffer::SHOW_FRAME_FALLBACK_MODE_BLACKSCREEN);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user