- add menu item to force usertitles for color buttons in infobar

This commit is contained in:
svenhoefer
2015-12-28 00:47:27 +01:00
parent 9325385ce9
commit 3107e621ef
7 changed files with 16 additions and 0 deletions

View File

@@ -1045,6 +1045,11 @@ void COsdSetup::showOsdInfobarSetup(CMenuWidget *menu_infobar)
mc->setHint("", LOCALE_MENU_HINT_INFOBAR_RADIOTEXT);
menu_infobar->addItem(mc);
// buttons usertitle
mc = new CMenuOptionChooser(LOCALE_MISCSETTINGS_INFOBAR_BUTTONS_USERTITLE, &g_settings.infobar_buttons_usertitle, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true, this);
mc->setHint("", LOCALE_MENU_HINT_INFOBAR_BUTTONS_USERTITLE);
menu_infobar->addItem(mc);
menu_infobar->addItem(GenericMenuSeparator);
// display options