mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
neutrino: move screensaver members to screensaver's code
Origin commit data
------------------
Commit: 8a08024e9c
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-11-25 (Sat, 25 Nov 2017)
Origin message was:
------------------
- neutrino: move screensaver members to screensaver's code
This commit is contained in:
@@ -64,6 +64,7 @@ CScreenSaver::CScreenSaver()
|
||||
scr_clock = NULL;
|
||||
clr.i_color = COL_DARK_GRAY;
|
||||
pip_channel_id = 0;
|
||||
idletime = time(NULL);
|
||||
}
|
||||
|
||||
CScreenSaver::~CScreenSaver()
|
||||
@@ -135,6 +136,7 @@ void CScreenSaver::Stop()
|
||||
pthread_cancel(thrScreenSaver);
|
||||
thrScreenSaver = 0;
|
||||
}
|
||||
resetIdleTime();
|
||||
|
||||
if (scr_clock){
|
||||
scr_clock->Stop();
|
||||
@@ -322,7 +324,7 @@ void CScreenSaver::paint()
|
||||
}
|
||||
}
|
||||
|
||||
bool CScreenSaver::IsRun()
|
||||
bool CScreenSaver::isActive()
|
||||
{
|
||||
if(thrScreenSaver)
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user