- 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

@@ -1658,6 +1658,7 @@ menu.hint_video_pip Bild in Bild Größe und Position
menu.hint_video_saturation Ändert die Farbsättigung
menu.hint_video_scart_mode Wählen Sie den Modus des Ausgangssignals für den SCART-Anschluss
menu.hint_video_sdosd Aktivieren/Deaktivieren der OSD Anzeige am Analogausgang (Scart, Cinch)
menu.hint_video_zappingmode Wählen Sie, ob ein schwarzes Bild oder ein Standbild beim Umschalten gezeigt werden soll
menu.hint_volume Wählen Sie die Anzeigeoptionen für die Lautstärke
menu.hint_volume_digits Zifferndarstellung der Lautstärkeanzeige ein- oder ausschalten
menu.hint_volume_pos Wählen Sie die Position der Lautstärkeanzeige aus
@@ -2729,7 +2730,7 @@ videomenu.videoformat_149 14:9
videomenu.videoformat_169 16:9
videomenu.videoformat_43 4:3
videomenu.videomode Videosystem
videomenu.zappingmode Umschaltmodus
videomenu.zappingmode Umschaltverhalten
videomenu.zappingmode_mute Schwarzes Bild
videomenu.zappingmode_hold Standbild
weather.api_key Wetter API Schlüssel (Dark Sky)

View File

@@ -1658,6 +1658,7 @@ menu.hint_video_pip Picture in picture size and position
menu.hint_video_saturation Change picture saturation
menu.hint_video_scart_mode Select analog output mode for SCART connectors
menu.hint_video_sdosd Enable/disable OSD display on SD output (scart, cinch)
menu.hint_video_zappingmode Select black screen or still picture while zapping
menu.hint_volume Configure Volume GUI options
menu.hint_volume_digits Numeric display of the volumebar on/off
menu.hint_volume_pos Select volume indicator position
@@ -2729,7 +2730,7 @@ videomenu.videoformat_149 14:9
videomenu.videoformat_169 16:9
videomenu.videoformat_43 4:3
videomenu.videomode Digital video mode
videomenu.zappingmode Zap mode
videomenu.zappingmode Zapping mode
videomenu.zappingmode_mute Black screen
videomenu.zappingmode_hold Hold screen
weather.api_key Weather API key (Dark Sky)

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