mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 01:11:12 +02:00
- start_wizard: use a global enum; switch detection from bool to int
This commit is contained in:
@@ -65,7 +65,7 @@ extern cVideo *pipDecoder;
|
||||
extern int prev_video_mode;
|
||||
extern CRemoteControl * g_RemoteControl; /* neutrino.cpp */
|
||||
|
||||
CVideoSettings::CVideoSettings(bool wizard_mode)
|
||||
CVideoSettings::CVideoSettings(int wizard_mode)
|
||||
{
|
||||
frameBuffer = CFrameBuffer::getInstance();
|
||||
|
||||
@@ -616,10 +616,3 @@ void CVideoSettings::nextMode(void)
|
||||
CVFD::getInstance()->showServicename(g_RemoteControl->getCurrentChannelName(), g_RemoteControl->getCurrentChannelNumber());
|
||||
//ShowHint(LOCALE_VIDEOMENU_VIDEOMODE, text, 450, 2);
|
||||
}
|
||||
|
||||
//sets menu mode to "wizard" or "default"
|
||||
void CVideoSettings::setWizardMode(bool mode)
|
||||
{
|
||||
printf("[neutrino VideoSettings] %s set video settings menu to mode %d...\n", __FUNCTION__, mode);
|
||||
is_wizard = mode;
|
||||
}
|
||||
|
Reference in New Issue
Block a user