- adapt ShowHint handling from martii's neutrino-mp

This commit is contained in:
svenhoefer
2014-01-22 12:11:52 +01:00
parent cfe6facea4
commit 6995e1a765
11 changed files with 62 additions and 64 deletions

View File

@@ -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"