mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-20 21:04:24 -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
|
@ -27,7 +27,6 @@
|
|||
#include "ui_navigation.hpp"
|
||||
#include "ui_painter.hpp"
|
||||
#include "ui_receiver.hpp"
|
||||
#include "ui_styles.hpp"
|
||||
#include "ui_widget.hpp"
|
||||
|
||||
#include "rf_path.hpp"
|
||||
|
@ -69,9 +68,9 @@ class TransmitterView : public View {
|
|||
void set_transmitting(const bool transmitting);
|
||||
|
||||
private:
|
||||
const Style& style_start = Styles::green;
|
||||
const Style& style_stop = Styles::red;
|
||||
const Style& style_locked = Styles::dark_grey;
|
||||
const Style& style_start = *Theme::getInstance()->fg_green;
|
||||
const Style& style_stop = *Theme::getInstance()->fg_red;
|
||||
const Style& style_locked = *Theme::getInstance()->fg_dark;
|
||||
|
||||
bool lock_{false};
|
||||
bool transmitting_{false};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue