mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-20 01:07:44 +00: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:
@@ -113,21 +113,21 @@ class RecordView : public View {
|
||||
TrimProgressUI trim_ui{};
|
||||
|
||||
Rectangle rect_background{
|
||||
Color::black()};
|
||||
Theme::getInstance()->bg_darkest->background};
|
||||
|
||||
/*ImageButton button_pitch_rssi {
|
||||
{ 2, 0 * 16, 3 * 8, 1 * 16 },
|
||||
&bitmap_rssipwm,
|
||||
Color::orange(),
|
||||
Color::black()
|
||||
Theme::getInstance()->fg_orange->foreground,
|
||||
Theme::getInstance()->fg_orange->background
|
||||
};*/
|
||||
|
||||
ImageButton button_record{
|
||||
//{ 4 * 8, 0 * 16, 2 * 8, 1 * 16 },
|
||||
{0 * 8, 0 * 16, 2 * 8, 1 * 16},
|
||||
&bitmap_record,
|
||||
Color::red(),
|
||||
Color::black()};
|
||||
Theme::getInstance()->fg_red->foreground,
|
||||
Theme::getInstance()->fg_red->background};
|
||||
|
||||
Text text_record_filename{
|
||||
{7 * 8, 0 * 16, 8 * 8, 16},
|
||||
@@ -147,8 +147,8 @@ class RecordView : public View {
|
||||
Image gps_icon{
|
||||
{2 * 8 + 1, 0 * 16, 2 * 8, 1 * 16},
|
||||
&bitmap_target,
|
||||
Color::white(),
|
||||
Color::black()};
|
||||
Theme::getInstance()->bg_darkest->foreground,
|
||||
Theme::getInstance()->bg_darkest->background};
|
||||
|
||||
std::unique_ptr<CaptureThread> capture_thread{};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user