mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
neutrino: use key 'sleep' to execute CSleepTimerWidget
Origin commit data
------------------
Commit: a5857e9d5b
Author: vanhofen <vanhofen@gmx.de>
Date: 2013-05-14 (Tue, 14 May 2013)
Origin message was:
------------------
- neutrino: use key 'sleep' to execute CSleepTimerWidget
This commit is contained in:
@@ -78,6 +78,7 @@
|
||||
#include "gui/plugins.h"
|
||||
#include "gui/rc_lock.h"
|
||||
#include "gui/scan_setup.h"
|
||||
#include "gui/sleeptimer.h"
|
||||
#include "gui/start_wizard.h"
|
||||
#include "gui/videosettings.h"
|
||||
|
||||
@@ -2576,6 +2577,12 @@ _repeat:
|
||||
g_videoSettings->SwitchFormat();
|
||||
return messages_return::handled;
|
||||
}
|
||||
else if( msg == CRCInput::RC_sleep ) {
|
||||
CSleepTimerWidget *sleepTimer = new CSleepTimerWidget;
|
||||
sleepTimer->exec(NULL, "");
|
||||
delete sleepTimer;
|
||||
return messages_return::handled;
|
||||
}
|
||||
else if (msg == (neutrino_msg_t) g_settings.key_screenshot) {
|
||||
//video+osd scaled to osd size
|
||||
CScreenShot * sc = new CScreenShot("", (CScreenShot::screenshot_format_t)g_settings.screenshot_format);
|
||||
|
Reference in New Issue
Block a user