src/gui/screensaver.cpp: simplify painting images

Images will paint on full screen without blank frame in movie player mode.

TODO: Only with scale at the moment, but not sure if this must be changed.
This commit is contained in:
2018-05-18 16:53:51 +02:00
parent becf676dc6
commit b8c28d069d
2 changed files with 4 additions and 14 deletions

View File

@@ -30,12 +30,11 @@
#include <gui/components/cc.h>
class CFrameBuffer;
class CPictureViewer;
class CScreenSaver : public sigc::trackable
{
private:
CFrameBuffer *m_frameBuffer;
CPictureViewer *m_viewer;
CComponentsFrmClock *scr_clock;
pthread_t thrScreenSaver;
static void* ScreenSaverPrg(void *arg);