mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 01:41:12 +02:00
simple_display: allow to set scroll mode
Origin commit data
------------------
Branch: ni/coolstream
Commit: fd6e0153a5
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-11-13 (Mon, 13 Nov 2017)
Origin message was:
------------------
- simple_display: allow to set scroll mode
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -167,7 +167,7 @@ int CVfdSetup::showSetup()
|
||||
vfds->addItem(oj);
|
||||
|
||||
//scroll options
|
||||
oj = new CMenuOptionChooser(LOCALE_LCDMENU_SCROLL, &g_settings.lcd_scroll, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, vfd_enabled);
|
||||
oj = new CMenuOptionChooser(LOCALE_LCDMENU_SCROLL, &g_settings.lcd_scroll, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, vfd_enabled, this);
|
||||
oj->setHint("", LOCALE_MENU_HINT_VFD_SCROLL);
|
||||
vfds->addItem(oj);
|
||||
|
||||
@@ -332,6 +332,8 @@ bool CVfdSetup::changeNotify(const neutrino_locale_t OptionName, void * /* data
|
||||
CVFD::getInstance()->setled();
|
||||
} else if (ARE_LOCALES_EQUAL(OptionName, LOCALE_LEDCONTROLER_BACKLIGHT_TV)) {
|
||||
CVFD::getInstance()->setBacklight(g_settings.backlight_tv);
|
||||
} else if (ARE_LOCALES_EQUAL(OptionName, LOCALE_LCDMENU_SCROLL)) {
|
||||
CVFD::getInstance()->setScrollMode(g_settings.lcd_scroll);
|
||||
}
|
||||
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user