mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
- framebuffer: revival of showFrame() function to allow ...
... pictures like start.jpg, mp3.jpg etc. from /var/tuxbox/icons
This commit is contained in:
@@ -286,7 +286,7 @@ int CAudioPlayerGui::exec(CMenuTarget* parent, const std::string &actionKey)
|
||||
// set zapit in lock mode
|
||||
CNeutrinoApp::getInstance()->stopPlayBack(true);
|
||||
|
||||
videoDecoder->ShowPicture(DATADIR "/neutrino/icons/mp3.jpg");
|
||||
m_frameBuffer->showFrame("mp3.jpg");
|
||||
|
||||
// tell neutrino we're in audio mode
|
||||
m_LastMode = CNeutrinoApp::getInstance()->getMode();
|
||||
@@ -315,7 +315,7 @@ int CAudioPlayerGui::exec(CMenuTarget* parent, const std::string &actionKey)
|
||||
CZapit::getInstance()->EnablePlayback(true);
|
||||
// Start Sectionsd
|
||||
g_Sectionsd->setPauseScanning(false);
|
||||
videoDecoder->StopPicture();
|
||||
m_frameBuffer->stopFrame();
|
||||
CNeutrinoApp::getInstance()->handleMsg( NeutrinoMessages::CHANGEMODE , m_LastMode );
|
||||
g_RCInput->postMsg( NeutrinoMessages::SHOW_INFOBAR, 0 );
|
||||
|
||||
@@ -386,8 +386,8 @@ int CAudioPlayerGui::show()
|
||||
{
|
||||
screensaver(false);
|
||||
|
||||
videoDecoder->StopPicture();
|
||||
videoDecoder->ShowPicture(DATADIR "/neutrino/icons/mp3.jpg");
|
||||
m_frameBuffer->stopFrame();
|
||||
m_frameBuffer->showFrame("mp3.jpg");
|
||||
paint();
|
||||
|
||||
if (msg <= CRCInput::RC_MaxRC) {
|
||||
@@ -706,7 +706,7 @@ int CAudioPlayerGui::show()
|
||||
{
|
||||
pictureviewer = true;
|
||||
m_frameBuffer->Clear();
|
||||
videoDecoder->StopPicture();
|
||||
m_frameBuffer->stopFrame();
|
||||
CPictureViewerGui * picture = new CPictureViewerGui();
|
||||
picture->m_audioPlayer = this;
|
||||
picture->exec(this, "audio");
|
||||
@@ -714,7 +714,7 @@ int CAudioPlayerGui::show()
|
||||
pictureviewer = false;
|
||||
screensaver(false);
|
||||
videoDecoder->setBlank(true);
|
||||
videoDecoder->ShowPicture(DATADIR "/neutrino/icons/mp3.jpg");
|
||||
m_frameBuffer->showFrame("mp3.jpg");
|
||||
CVFD::getInstance()->setMode(CVFD::MODE_AUDIO);
|
||||
paintLCD();
|
||||
update = true;
|
||||
|
Reference in New Issue
Block a user