mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 00:41:09 +02:00
remove w_max()-calls to define menu-width, because ...
w-max() returns a pixel-value, but menus need a percentage-value.
Origin commit data
------------------
Branch: ni/coolstream
Commit: 9041bff59c
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-04-24 (Fri, 24 Apr 2015)
Origin message was:
------------------
- remove w_max()-calls to define menu-width, because ...
w-max() returns a pixel-value, but menus need a percentage-value.
------------------
This commit was generated by Migit
This commit is contained in:
@@ -84,7 +84,7 @@ COsdSetup::COsdSetup(bool wizard_mode)
|
||||
|
||||
is_wizard = wizard_mode;
|
||||
|
||||
width = w_max (40, 10); //%
|
||||
width = 40;
|
||||
show_menu_hints = 0;
|
||||
show_tuner_icon = 0;
|
||||
}
|
||||
@@ -500,7 +500,7 @@ int COsdSetup::showOsdSetup()
|
||||
osd_menu->addItem(mf);
|
||||
|
||||
//fonts
|
||||
CMenuWidget osd_menu_fonts(LOCALE_MAINMENU_SETTINGS, NEUTRINO_ICON_COLORS, w_max(50, 10), MN_WIDGET_ID_OSDSETUP_FONT);
|
||||
CMenuWidget osd_menu_fonts(LOCALE_MAINMENU_SETTINGS, NEUTRINO_ICON_COLORS, 50, MN_WIDGET_ID_OSDSETUP_FONT);
|
||||
showOsdFontSizeSetup(&osd_menu_fonts);
|
||||
mf = new CMenuForwarder(LOCALE_FONTMENU_HEAD, true, NULL, &osd_menu_fonts, NULL, CRCInput::RC_green);
|
||||
mf->setHint("", LOCALE_MENU_HINT_FONTS);
|
||||
|
Reference in New Issue
Block a user