screensaver: Use black background for the clock

This commit is contained in:
M. Liebmann
2017-01-24 22:33:23 +01:00
parent 97d1d93c93
commit c62f964dde

View File

@@ -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();