screensaver: Use black background for the clock

Origin commit data
------------------
Branch: ni/coolstream
Commit: c62f964dde
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2017-01-24 (Tue, 24 Jan 2017)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Michael Liebmann
2017-01-24 22:33:23 +01:00
parent 2ad657c74d
commit 32bbcaaa83

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