From 42fef516fe02d7dc3b1df7cfc69d0dc5c7d4680d Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Fri, 17 Jan 2014 14:17:59 +0400 Subject: [PATCH] gui/vfd_setup.cpp: add option to switch on/off text scroll --- src/gui/vfd_setup.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gui/vfd_setup.cpp b/src/gui/vfd_setup.cpp index ecfc2f891..03796cba5 100644 --- a/src/gui/vfd_setup.cpp +++ b/src/gui/vfd_setup.cpp @@ -148,6 +148,10 @@ int CVfdSetup::showSetup() vfds->addItem(oj); vfds->addItem(lcd_clock_channelname_menu); + oj = new CMenuOptionChooser(LOCALE_LCDMENU_SCROLL, &g_settings.lcd_scroll, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, vfd_enabled); + oj->setHint("", LOCALE_MENU_HINT_VFD_SCROLL); + vfds->addItem(oj); + int res = vfds->exec(NULL, ""); delete vfds;