From 32bbcaaa83815408f8c60b5ac0f5d66a9e7636b6 Mon Sep 17 00:00:00 2001 From: Michael Liebmann Date: Tue, 24 Jan 2017 22:33:23 +0100 Subject: [PATCH] screensaver: Use black background for the clock Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/c62f964dde288be2c09001d986a6db67a018bf89 Author: Michael Liebmann Date: 2017-01-24 (Tue, 24 Jan 2017) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/screensaver.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/gui/screensaver.cpp b/src/gui/screensaver.cpp index 1ded487eb..7c3b50b5a 100644 --- a/src/gui/screensaver.cpp +++ b/src/gui/screensaver.cpp @@ -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();