mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
screensaver: Use black background for the clock
This commit is contained in:
@@ -270,10 +270,11 @@ void CScreenSaver::paint()
|
||||
}
|
||||
else{
|
||||
if (!scr_clock){
|
||||
scr_clock = new CComponentsFrmClock(1, 1, NULL, "%H:%M:%S", "%H:%M %S", true);
|
||||
scr_clock = new CComponentsFrmClock(1, 1, NULL, "%H:%M:%S", "%H:%M %S", true,
|
||||
1, NULL, CC_SHADOW_OFF, COL_BLACK, COL_BLACK);
|
||||
scr_clock->setClockFont(g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_NUMBER]);
|
||||
scr_clock->disableSaveBg();
|
||||
scr_clock->doPaintBg(false);
|
||||
scr_clock->doPaintBg(true);
|
||||
}
|
||||
if (scr_clock->isPainted())
|
||||
scr_clock->Stop();
|
||||
|
Reference in New Issue
Block a user