nglcd: new option for scroll text on/off added

Origin commit data
------------------
Branch: ni/coolstream
Commit: 179f5fbc98
Author: BPanther <bpanther_ts@hotmail.com>
Date: 2023-08-14 (Mon, 14 Aug 2023)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
BPanther
2023-08-14 22:59:47 +02:00
committed by vanhofen
parent 072058a711
commit 10ebb3df88
8 changed files with 67 additions and 18 deletions

View File

@@ -399,6 +399,7 @@ int CNeutrinoApp::loadSetup(const char *fname)
g_settings.glcd_brightness_standby = configfile.getInt32("glcd_brightness_standby", GLCD_DEFAULT_BRIGHTNESS_STANDBY);
g_settings.glcd_mirror_osd = configfile.getInt32("glcd_mirror_osd", 0);
g_settings.glcd_mirror_video = configfile.getInt32("glcd_mirror_video", 0);
g_settings.glcd_scroll = configfile.getInt32("glcd_scroll", 1);
#if BOXMODEL_VUUNO4KSE
g_settings.glcd_scroll_speed = configfile.getInt32("glcd_scroll_speed", 1);
#elif BOXMODEL_VUSOLO4K || BOXMODEL_VUDUO4K || BOXMODEL_VUDUO4KSE || BOXMODEL_VUULTIMO4K
@@ -1532,6 +1533,7 @@ void CNeutrinoApp::saveSetup(const char *fname)
configfile.setInt32("glcd_brightness_standby", g_settings.glcd_brightness_standby);
configfile.setInt32("glcd_mirror_osd", g_settings.glcd_mirror_osd);
configfile.setInt32("glcd_mirror_video", g_settings.glcd_mirror_video);
configfile.setInt32("glcd_scroll", g_settings.glcd_scroll);
configfile.setInt32("glcd_scroll_speed", g_settings.glcd_scroll_speed);
configfile.setInt32("glcd_selected_config", g_settings.glcd_selected_config);
#endif