mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
src/gui/screensaver.cpp: ensure usage of transparent background for clock
This commit is contained in:
@@ -266,9 +266,10 @@ void CScreenSaver::paint()
|
|||||||
if (!scr_clock){
|
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);
|
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->setClockFont(g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_NUMBER]);
|
||||||
scr_clock->disableSaveBg();
|
scr_clock->disableSaveBg();
|
||||||
scr_clock->doPaintBg(true);
|
scr_clock->doPaintBg(false);
|
||||||
}
|
}
|
||||||
if (scr_clock->isPainted())
|
if (scr_clock->isPainted())
|
||||||
scr_clock->Stop();
|
scr_clock->Stop();
|
||||||
|
Reference in New Issue
Block a user