mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 23:13:00 +02:00
Screensaver: try to fix background
Ensure to have blank background before paint screensaver content.
This should avoid possible holes with some images.
Origin commit data
------------------
Commit: 43c70513f7
Author: Thilo Graf <dbt@novatux.de>
Date: 2018-05-17 (Thu, 17 May 2018)
This commit is contained in:
BIN
data/pictures/backgrounds/1280x720/blackscreen.jpg
Normal file
BIN
data/pictures/backgrounds/1280x720/blackscreen.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.8 KiB |
@@ -3,6 +3,7 @@ installdir = $(ICONSDIR)
|
||||
resolution = 1280x720
|
||||
|
||||
install_DATA = \
|
||||
$(resolution)/blackscreen.jpg \
|
||||
$(resolution)/mp3.jpg \
|
||||
$(resolution)/radiomode.jpg \
|
||||
$(resolution)/scan.jpg \
|
||||
|
@@ -116,7 +116,6 @@ void CScreenSaver::Start()
|
||||
m_viewer->SetAspectRatio(float(4.0/3));
|
||||
|
||||
m_viewer->Cleanup();
|
||||
|
||||
m_frameBuffer->stopFrame();
|
||||
|
||||
if(!thrScreenSaver)
|
||||
@@ -171,6 +170,7 @@ void* CScreenSaver::ScreenSaverPrg(void* arg)
|
||||
|
||||
PScreenSaver->ReadDir(); //TODO kill Screensaver if false
|
||||
PScreenSaver->m_frameBuffer->Clear();
|
||||
PScreenSaver->m_frameBuffer->showFrame("blackscreen.jpg");
|
||||
|
||||
if (g_settings.screensaver_timeout)
|
||||
{
|
||||
|
Reference in New Issue
Block a user