mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-09 06:38:28 +02:00
rename HAVE_COOL_HARDWARE => HAVE_CST_HARDWARE
Origin commit data
------------------
Branch: ni/coolstream
Commit: 524913f4ee
Author: vanhofen <vanhofen@gmx.de>
Date: 2020-09-03 (Thu, 03 Sep 2020)
Origin message was:
------------------
- rename HAVE_COOL_HARDWARE => HAVE_CST_HARDWARE
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -222,7 +222,7 @@ void CScreenSaver::ScreenSaverPrg(CScreenSaver *scr)
|
||||
scr->paint();
|
||||
|
||||
int corr = 1;
|
||||
#if HAVE_COOL_HARDWARE //time offset
|
||||
#if HAVE_CST_HARDWARE //time offset
|
||||
corr = 10;
|
||||
#endif
|
||||
int t = 1000/corr * g_settings.screensaver_timeout; //sleep and exit handle
|
||||
@@ -399,11 +399,11 @@ void CScreenSaver::paint()
|
||||
scr_clock->setClockFont(g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_NUMBER]);
|
||||
scr_clock->enableSaveBg();
|
||||
scr_clock->doPaintBg(false);
|
||||
#if HAVE_COOL_HARDWARE
|
||||
#if HAVE_CST_HARDWARE
|
||||
paintImage("blackscreen.jpg", 0, 0, m_frameBuffer->getScreenWidth(true), m_frameBuffer->getScreenHeight(true));
|
||||
#endif
|
||||
}
|
||||
#if !HAVE_COOL_HARDWARE
|
||||
#if !HAVE_CST_HARDWARE
|
||||
#if 0 //example for callback
|
||||
m_frameBuffer->OnFallbackShowFrame.connect(sigc::bind(sigc::mem_fun(CFrameBuffer::getInstance(),
|
||||
&CFrameBuffer::paintBoxRel),
|
||||
|
Reference in New Issue
Block a user