mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
lcd4l-setup: use better readable enumeration to handle g_settings.lcd4l_display_type
Origin commit data
------------------
Branch: ni/coolstream
Commit: 1038b01b88
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-09-30 (Sun, 30 Sep 2018)
Origin message was:
------------------
- lcd4l-setup: use better readable enumeration to handle g_settings.lcd4l_display_type
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -160,15 +160,14 @@ int CLCD4lSetup::show()
|
||||
mc->setHint(NEUTRINO_ICON_HINT_LCD4L, LOCALE_MENU_HINT_LCD4L_SKIN_RADIO);
|
||||
lcd4lSetup->addItem(mc);
|
||||
|
||||
if (g_settings.lcd4l_display_type == 2)
|
||||
if (g_settings.lcd4l_display_type == CLCD4l::SAMSUNG)
|
||||
nc = new CMenuOptionNumberChooser(LOCALE_LCD4L_BRIGHTNESS, (int *)&temp_lcd4l_brightness, true, 1, 10, this);
|
||||
else
|
||||
nc = new CMenuOptionNumberChooser(LOCALE_LCD4L_BRIGHTNESS, (int *)&temp_lcd4l_brightness, true, 1, 7, this);
|
||||
|
||||
nc->setHint(NEUTRINO_ICON_HINT_LCD4L, LOCALE_MENU_HINT_LCD4L_BRIGHTNESS);
|
||||
lcd4lSetup->addItem(nc);
|
||||
|
||||
if (g_settings.lcd4l_display_type == 2)
|
||||
if (g_settings.lcd4l_display_type == CLCD4l::SAMSUNG)
|
||||
nc = new CMenuOptionNumberChooser(LOCALE_LCD4L_BRIGHTNESS_STANDBY, (int *)&g_settings.lcd4l_brightness_standby, true, 1, 10, this);
|
||||
else
|
||||
nc = new CMenuOptionNumberChooser(LOCALE_LCD4L_BRIGHTNESS_STANDBY, (int *)&g_settings.lcd4l_brightness_standby, true, 1, 7, this);
|
||||
|
Reference in New Issue
Block a user