framebuffer: revival of showFrame() function to allow ...

... pictures like start.jpg, mp3.jpg etc. from /var/tuxbox/icons


Origin commit data
------------------
Commit: edc8527379
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-05-05 (Tue, 05 May 2015)

Origin message was:
------------------
- framebuffer: revival of showFrame() function to allow ...

... pictures like start.jpg, mp3.jpg etc. from /var/tuxbox/icons
This commit is contained in:
vanhofen
2015-05-05 12:01:04 +02:00
parent 3689c8fef8
commit 6a4659bf77
10 changed files with 43 additions and 36 deletions

View File

@@ -111,10 +111,10 @@ int CMediaPlayerMenu::exec(CMenuTarget* parent, const std::string &actionKey)
InfoClock->enableInfoClock(false);
int mode = CNeutrinoApp::getInstance()->getMode();
if( mode == NeutrinoMessages::mode_radio )
videoDecoder->StopPicture();
CFrameBuffer::getInstance()->stopFrame();
int res = CMoviePlayerGui::getInstance().exec(NULL, "tsmoviebrowser");
if( mode == NeutrinoMessages::mode_radio )
videoDecoder->ShowPicture(DATADIR "/neutrino/icons/radiomode.jpg");
CFrameBuffer::getInstance()->showFrame("radiomode.jpg");
audiomute->enableMuteIcon(true);
InfoClock->enableInfoClock(true);
return res;