Cycle through brightness levels when icon selected (#1873)

This commit is contained in:
Mark Thompson 2024-02-09 09:16:55 -06:00 committed by GitHub
parent 998be5ba09
commit b2ad1fa979
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 28 additions and 14 deletions

View file

@ -266,9 +266,11 @@ class SystemStatusView : public View {
Color::light_grey(),
Color::dark_grey()};
ImageToggle toggle_fake_brightness{
ImageButton button_fake_brightness{
{0, 0, 2 * 8, 1 * 16},
&bitmap_icon_brightness};
&bitmap_icon_brightness,
Color::green(),
Color::dark_grey()};
SDCardStatusView sd_card_status_view{
{0, 0 * 16, 2 * 8, 1 * 16}};