src/gui/screensaver.cpp: ensure usage of transparent background for clock

Origin commit data
------------------
Commit: 1e601bef76
Author: Thilo Graf <dbt@novatux.de>
Date: 2018-05-22 (Tue, 22 May 2018)
This commit is contained in:
2018-05-22 20:50:53 +02:00
committed by vanhofen
parent b53a01c91d
commit 22fdff2baf

View File

@@ -275,9 +275,10 @@ void CScreenSaver::paint()
if (!scr_clock){
scr_clock = new CComponentsFrmClock(1, 1, NULL, "%H:%M:%S", "%H:%M.%S", true, //NI
1, NULL, CC_SHADOW_OFF, COL_BLACK, COL_BLACK);
scr_clock->setCornerType(CORNER_NONE);
scr_clock->setClockFont(g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_NUMBER]);
scr_clock->disableSaveBg();
scr_clock->doPaintBg(true);
scr_clock->doPaintBg(false);
}
if (scr_clock->isPainted())
scr_clock->Stop();