mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
- neutrino: move screensaver members to screensaver's code
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -59,6 +59,7 @@ CScreenSaver::CScreenSaver()
|
||||
scr_clock = NULL;
|
||||
clr.i_color = COL_DARK_GRAY;
|
||||
pip_channel_id = 0;
|
||||
idletime = time(NULL);
|
||||
}
|
||||
|
||||
CScreenSaver::~CScreenSaver()
|
||||
@@ -126,6 +127,7 @@ void CScreenSaver::Stop()
|
||||
pthread_cancel(thrScreenSaver);
|
||||
thrScreenSaver = 0;
|
||||
}
|
||||
resetIdleTime();
|
||||
|
||||
if (scr_clock){
|
||||
scr_clock->Stop();
|
||||
@@ -312,7 +314,7 @@ void CScreenSaver::paint()
|
||||
}
|
||||
}
|
||||
|
||||
bool CScreenSaver::IsRun()
|
||||
bool CScreenSaver::isActive()
|
||||
{
|
||||
if(thrScreenSaver)
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user