mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-08-19 22:24:02 +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:
@@ -106,7 +106,7 @@ void BMPViewer::get_line(ui::Color* line, uint32_t bx, uint32_t by, uint32_t cnt
|
||||
|
||||
void BMPViewer::paint(Painter& painter) {
|
||||
if (!bmp.is_loaded()) {
|
||||
painter.draw_string({48, 24}, ui::Styles::white, "Can't load BMP");
|
||||
painter.draw_string({48, 24}, *ui::Theme::getInstance()->bg_darkest, "Can't load BMP");
|
||||
return;
|
||||
}
|
||||
// get where i can paint
|
||||
|
||||
Reference in New Issue
Block a user