mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-23 06:14:13 -04:00
Theme system (#2164)
* Themes instead of Styles * Colors changed to theme colors * Reworked style management * Theme settings app * warn, menu dual set * Added Aqua style
This commit is contained in:
parent
a8203a6372
commit
ced8012783
143 changed files with 1566 additions and 1154 deletions
|
@ -137,15 +137,15 @@ ReconSetupViewMore::ReconSetupViewMore(NavigationView& nav, Rect parent_rect)
|
|||
&field_repeat_delay});
|
||||
|
||||
// tx options have to be in yellow to inform the users that activating them will make the device transmit
|
||||
checkbox_repeat_recorded.set_style(&Styles::yellow);
|
||||
field_repeat_file_mode.set_style(&Styles::yellow);
|
||||
text_repeat_nb.set_style(&Styles::yellow);
|
||||
field_repeat_nb.set_style(&Styles::yellow);
|
||||
checkbox_repeat_amp.set_style(&Styles::yellow);
|
||||
text_repeat_gain.set_style(&Styles::yellow);
|
||||
field_repeat_gain.set_style(&Styles::yellow);
|
||||
text_repeat_delay.set_style(&Styles::yellow);
|
||||
field_repeat_delay.set_style(&Styles::yellow);
|
||||
checkbox_repeat_recorded.set_style(Theme::getInstance()->fg_yellow);
|
||||
field_repeat_file_mode.set_style(Theme::getInstance()->fg_yellow);
|
||||
text_repeat_nb.set_style(Theme::getInstance()->fg_yellow);
|
||||
field_repeat_nb.set_style(Theme::getInstance()->fg_yellow);
|
||||
checkbox_repeat_amp.set_style(Theme::getInstance()->fg_yellow);
|
||||
text_repeat_gain.set_style(Theme::getInstance()->fg_yellow);
|
||||
field_repeat_gain.set_style(Theme::getInstance()->fg_yellow);
|
||||
text_repeat_delay.set_style(Theme::getInstance()->fg_yellow);
|
||||
field_repeat_delay.set_style(Theme::getInstance()->fg_yellow);
|
||||
|
||||
checkbox_load_freqs.set_value(persistent_memory::recon_load_freqs());
|
||||
checkbox_load_repeaters.set_value(persistent_memory::recon_load_repeaters());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue