mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-20 04:54:45 -07:00
GUI: Add marquee 'Text Scroll' option (#363)
* GUI: Add marquee 'Text Scroll' option - Adds the tiny `Text Scroll` option under `MNTM > Interface > General` to either use the standard scroll, or a new marquee style back and forth on any scrollable text. - `elements_scrollable_text_line_centered` renamed to `elements_scrollable_text_line_ex` to be more general. Has `bool marquee`. * Unnecessary switch here * Apply setting internally * Revert a few usages * Update changelog * Last thing --------- Co-authored-by: Willy-JL <49810075+Willy-JL@users.noreply.github.com>
This commit is contained in:
@@ -32,6 +32,7 @@ MomentumSettings momentum_settings = {
|
||||
.show_internal_tab = false, // OFF
|
||||
.browser_path_mode = BrowserPathOff, // OFF
|
||||
.favorite_timeout = 0, // OFF
|
||||
.scroll_marquee = false, // OFF
|
||||
.dark_mode = false, // OFF
|
||||
.rgb_backlight = false, // OFF
|
||||
.butthurt_timer = 21600, // 6 H
|
||||
@@ -103,6 +104,7 @@ static const struct {
|
||||
{setting_bool(show_internal_tab)},
|
||||
{setting_enum(browser_path_mode, BrowserPathModeCount)},
|
||||
{setting_uint(favorite_timeout, 0, 60)},
|
||||
{setting_bool(scroll_marquee)},
|
||||
{setting_bool(dark_mode)},
|
||||
{setting_bool(rgb_backlight)},
|
||||
{setting_uint(butthurt_timer, 0, 172800)},
|
||||
|
||||
@@ -89,6 +89,7 @@ typedef struct {
|
||||
bool show_internal_tab;
|
||||
BrowserPathMode browser_path_mode;
|
||||
uint32_t favorite_timeout;
|
||||
bool scroll_marquee;
|
||||
bool dark_mode;
|
||||
bool rgb_backlight;
|
||||
uint32_t butthurt_timer;
|
||||
|
||||
Reference in New Issue
Block a user