From 0dd22ffd5d7a0c5eb3866fa20acd06f32e58d276 Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Mon, 14 Dec 2015 14:08:00 +0100 Subject: [PATCH] - movieplayer: allow usermenu, when colorkeys not assigned --- src/gui/movieplayer.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/gui/movieplayer.cpp b/src/gui/movieplayer.cpp index 62e43d07e..bb5a61b19 100644 --- a/src/gui/movieplayer.cpp +++ b/src/gui/movieplayer.cpp @@ -1142,6 +1142,7 @@ void CMoviePlayerGui::PlayFileLoop(void) } if (restore) FileTime.show(position); +#if 0 } else if (msg == CRCInput::RC_red) { bool restore = FileTime.IsVisible(); FileTime.kill(); @@ -1150,6 +1151,7 @@ void CMoviePlayerGui::PlayFileLoop(void) if (restore) FileTime.show(position); update_lcd = true; +#endif } else if (msg == NeutrinoMessages::SHOW_EPG) { handleMovieBrowser(NeutrinoMessages::SHOW_EPG, position); } else if (msg == (neutrino_msg_t) g_settings.key_screenshot) { @@ -1178,6 +1180,16 @@ void CMoviePlayerGui::PlayFileLoop(void) makeScreenShot(false, true); } else if (msg == CRCInput::RC_sat) { //FIXME do nothing ? + } else if (msg == CRCInput::RC_red || msg == CRCInput::RC_green || msg == CRCInput::RC_yellow || msg == CRCInput::RC_blue ) { + bool restore = FileTime.IsVisible(); + FileTime.kill(); + + CUserMenu u; + u.showUserMenu(msg); + + if (restore) + FileTime.show(position); + update_lcd = true; } else { if (CNeutrinoApp::getInstance()->handleMsg(msg, data) & messages_return::cancel_all) { printf("CMoviePlayerGui::PlayFile: neutrino handleMsg messages_return::cancel_all\n");