- screensaver: fix restart of clock and mute;

restart is now depending on previous status
This commit is contained in:
svenhoefer
2015-01-09 15:04:39 +01:00
parent eba43cc5f9
commit aea7e1f772
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();