screensaver: fix restart of clock and mute;

restart is now depending on previous status


Origin commit data
------------------
Branch: ni/coolstream
Commit: aea7e1f772
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-01-09 (Fri, 09 Jan 2015)

Origin message was:
------------------
- screensaver: fix restart of clock and mute;

 restart is now depending on previous status


------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2015-01-09 15:04:39 +01:00
parent 2ae7862fbf
commit 91859dcb45
2 changed files with 11 additions and 3 deletions

View File

@@ -33,11 +33,14 @@ class CScreenSaver
{
private:
CFrameBuffer *m_frameBuffer;
CPictureViewer *m_viewer;
pthread_t thrScreenSaver;
static void* ScreenSaverPrg(void *arg);
vector<string> v_bg_files;
unsigned int index;
CPictureViewer *m_viewer;
bool status_mute;
bool status_clock;
bool ReadDir();
void PaintPicture();