- videosettings: add menu hint to zappingmode item

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2020-01-26 22:31:45 +01:00
committed by Thilo Graf
parent a66671e642
commit 72eb464562
5 changed files with 7 additions and 3 deletions

View File

@@ -490,6 +490,7 @@ int CVideoSettings::showVideoSetup()
#if HAVE_ARM_HARDWARE || HAVE_MIPS_HARDWARE
CMenuOptionChooser * zm = new CMenuOptionChooser(LOCALE_VIDEOMENU_ZAPPINGMODE, &g_settings.zappingmode, VIDEOMENU_ZAPPINGMODE_OPTIONS, VIDEOMENU_ZAPPINGMODE_OPTION_COUNT, true, this);
zm->setHint("", LOCALE_MENU_HINT_VIDEO_ZAPPINGMODE);
videosetup->addItem(zm);
#endif
@@ -642,7 +643,6 @@ bool CVideoSettings::changeNotify(const neutrino_locale_t OptionName, void * /*
videoDecoder->SetControl(VIDEO_CONTROL_HUE, val);
}
#endif
#if HAVE_ARM_HARDWARE || HAVE_MIPS_HARDWARE
else if (ARE_LOCALES_EQUAL(OptionName, LOCALE_VIDEOMENU_ZAPPINGMODE)) {
videoDecoder->SetControl(VIDEO_CONTROL_ZAPPING_MODE, g_settings.zappingmode);

View File

@@ -1685,6 +1685,7 @@ typedef enum
LOCALE_MENU_HINT_VIDEO_SATURATION,
LOCALE_MENU_HINT_VIDEO_SCART_MODE,
LOCALE_MENU_HINT_VIDEO_SDOSD,
LOCALE_MENU_HINT_VIDEO_ZAPPINGMODE,
LOCALE_MENU_HINT_VOLUME,
LOCALE_MENU_HINT_VOLUME_DIGITS,
LOCALE_MENU_HINT_VOLUME_POS,

View File

@@ -1685,6 +1685,7 @@ const char * locale_real_names[] =
"menu.hint_video_saturation",
"menu.hint_video_scart_mode",
"menu.hint_video_sdosd",
"menu.hint_video_zappingmode",
"menu.hint_volume",
"menu.hint_volume_digits",
"menu.hint_volume_pos",