mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-07-27 08:46:01 -04:00
Cycle through brightness levels when icon selected (#1873)
This commit is contained in:
parent
998be5ba09
commit
b2ad1fa979
4 changed files with 28 additions and 14 deletions
|
@ -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}};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue