mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
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:
@@ -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();
|
||||
|
Reference in New Issue
Block a user