mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
- audioplayer.cpp: restore correct background when leaving screensaver
and remove background-pic from screensaver-loop
This commit is contained in:
@@ -420,8 +420,6 @@ int CAudioPlayerGui::show()
|
|||||||
videoDecoder->ShowPicture(fname);
|
videoDecoder->ShowPicture(fname);
|
||||||
} else if (pic_index) {
|
} else if (pic_index) {
|
||||||
pic_index = 0;
|
pic_index = 0;
|
||||||
videoDecoder->StopPicture();
|
|
||||||
videoDecoder->ShowPicture(DATADIR "/neutrino/icons/mp3.jpg");
|
|
||||||
}
|
}
|
||||||
} else
|
} else
|
||||||
pic_index = 0;
|
pic_index = 0;
|
||||||
@@ -2330,11 +2328,8 @@ void CAudioPlayerGui::screensaver(bool on)
|
|||||||
{
|
{
|
||||||
g_RCInput->killTimer(stimer);
|
g_RCInput->killTimer(stimer);
|
||||||
m_screensaver = false;
|
m_screensaver = false;
|
||||||
#if 0
|
videoDecoder->StopPicture();
|
||||||
m_frameBuffer->loadPal("radiomode.pal", 18, COL_MAXFREE);
|
videoDecoder->ShowPicture(DATADIR "/neutrino/icons/mp3.jpg");
|
||||||
m_frameBuffer->useBackground(m_frameBuffer->loadBackground(NEUTRINO_ICON_RADIOMODE));// set useBackground true or false
|
|
||||||
m_frameBuffer->paintBackground();
|
|
||||||
#endif
|
|
||||||
paint();
|
paint();
|
||||||
m_idletime = time(NULL);
|
m_idletime = time(NULL);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user