mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 01:11:12 +02:00
- adapt ShowHint handling from martii's neutrino-mp
This commit is contained in:
@@ -496,7 +496,7 @@ void CVideoSettings::next43Mode(void)
|
||||
#ifdef ENABLE_PIP
|
||||
pipDecoder->setAspectRatio(-1, g_settings.video_43mode);
|
||||
#endif
|
||||
ShowHintUTF(LOCALE_VIDEOMENU_43MODE, g_Locale->getText(text), 450, 2);
|
||||
ShowHint(LOCALE_VIDEOMENU_43MODE, g_Locale->getText(text), 450, 2);
|
||||
}
|
||||
|
||||
void CVideoSettings::SwitchFormat()
|
||||
@@ -522,7 +522,7 @@ void CVideoSettings::SwitchFormat()
|
||||
#ifdef ENABLE_PIP
|
||||
pipDecoder->setAspectRatio(g_settings.video_Format, -1);
|
||||
#endif
|
||||
ShowHintUTF(LOCALE_VIDEOMENU_VIDEOFORMAT, g_Locale->getText(text), 450, 2);
|
||||
ShowHint(LOCALE_VIDEOMENU_VIDEOFORMAT, g_Locale->getText(text), 450, 2);
|
||||
}
|
||||
|
||||
void CVideoSettings::nextMode(void)
|
||||
@@ -543,7 +543,7 @@ void CVideoSettings::nextMode(void)
|
||||
|
||||
while(1) {
|
||||
CVFD::getInstance()->ShowText(text);
|
||||
int res = ShowHintUTF(LOCALE_VIDEOMENU_VIDEOMODE, text, 450, 2);
|
||||
int res = ShowHint(LOCALE_VIDEOMENU_VIDEOMODE, text, 450, 2);
|
||||
|
||||
if(disp_cur && res != messages_return::handled)
|
||||
break;
|
||||
@@ -578,7 +578,7 @@ void CVideoSettings::nextMode(void)
|
||||
break;
|
||||
}
|
||||
CVFD::getInstance()->showServicename(g_RemoteControl->getCurrentChannelName());
|
||||
//ShowHintUTF(LOCALE_VIDEOMENU_VIDEOMODE, text, 450, 2);
|
||||
//ShowHint(LOCALE_VIDEOMENU_VIDEOMODE, text, 450, 2);
|
||||
}
|
||||
|
||||
//sets menu mode to "wizard" or "default"
|
||||
|
Reference in New Issue
Block a user