mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
- videosettings: add menu hint to zappingmode item
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -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);
|
||||
|
@@ -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,
|
||||
|
@@ -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",
|
||||
|
Reference in New Issue
Block a user