mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 18:01:13 +02:00
screensaver: add optional colored property
This commit is contained in:
@@ -46,11 +46,21 @@ class CScreenSaver : public sigc::trackable
|
||||
bool ReadDir();
|
||||
void paint();
|
||||
|
||||
union u_color {
|
||||
struct s_color {
|
||||
uint8_t b, g, r, a;
|
||||
} uc_color;
|
||||
unsigned int i_color;
|
||||
};
|
||||
|
||||
u_color clr;
|
||||
|
||||
public:
|
||||
enum
|
||||
{
|
||||
SCR_MODE_IMAGE,
|
||||
SCR_MODE_CLOCK
|
||||
SCR_MODE_CLOCK,
|
||||
SCR_MODE_CLOCK_COLOR
|
||||
};
|
||||
CScreenSaver();
|
||||
~CScreenSaver();
|
||||
|
Reference in New Issue
Block a user