From 081b11ad4143a69b52a937520384db4891e39461 Mon Sep 17 00:00:00 2001 From: Mark Thompson <129641948+NotherNgineer@users.noreply.github.com> Date: Mon, 10 Mar 2025 11:25:49 -0500 Subject: [PATCH] Breakout icon change (#2556) - Changed Breakout icon - Changed Tetris icon color to green --- firmware/application/bitmap.hpp | 38 +++++++++++ .../application/external/breakout/main.cpp | 64 +++++++++--------- firmware/application/external/tetris/main.cpp | 2 +- firmware/graphics/icon_breakout.png | Bin 0 -> 137 bytes 4 files changed, 71 insertions(+), 33 deletions(-) create mode 100644 firmware/graphics/icon_breakout.png diff --git a/firmware/application/bitmap.hpp b/firmware/application/bitmap.hpp index 2c1fe93d..fcaf028f 100644 --- a/firmware/application/bitmap.hpp +++ b/firmware/application/bitmap.hpp @@ -1955,6 +1955,44 @@ static constexpr Bitmap bitmap_icon_tetris{ {16, 16}, bitmap_icon_tetris_data}; +static constexpr uint8_t bitmap_icon_breakout_data[] = { + 0x00, + 0x00, + 0x7F, + 0x7F, + 0x7F, + 0x7F, + 0x7F, + 0x7F, + 0x00, + 0x00, + 0xF7, + 0xF7, + 0xF7, + 0xF7, + 0xF7, + 0xF7, + 0x00, + 0x00, + 0x7F, + 0x7F, + 0x7F, + 0x7F, + 0x7F, + 0x7F, + 0x00, + 0x00, + 0xF7, + 0xF7, + 0xF7, + 0xF7, + 0xF7, + 0xF7, +}; +static constexpr Bitmap bitmap_icon_breakout{ + {16, 16}, + bitmap_icon_breakout_data}; + static constexpr uint8_t bitmap_icon_rename_data[] = { 0x00, 0x00, diff --git a/firmware/application/external/breakout/main.cpp b/firmware/application/external/breakout/main.cpp index 0445b364..36406e23 100644 --- a/firmware/application/external/breakout/main.cpp +++ b/firmware/application/external/breakout/main.cpp @@ -27,38 +27,38 @@ __attribute__((section(".external_app.app_breakout.application_information"), us /*.app_name = */ "Breakout", /*.bitmap_data = */ { - 0xFF, - 0xFF, - 0x01, - 0x01, - 0x01, - 0x01, - 0x01, - 0x01, - 0xFF, - 0xFF, - 0x80, - 0x80, - 0x80, - 0x80, - 0x80, - 0x80, - 0xFF, - 0xFF, - 0x01, - 0x01, - 0x01, - 0x01, - 0x01, - 0x01, - 0xFF, - 0xFF, - 0x80, - 0x80, - 0x80, - 0x80, - 0x80, - 0x80, + 0x00, + 0x00, + 0x7F, + 0x7F, + 0x7F, + 0x7F, + 0x7F, + 0x7F, + 0x00, + 0x00, + 0xF7, + 0xF7, + 0xF7, + 0xF7, + 0xF7, + 0xF7, + 0x00, + 0x00, + 0x7F, + 0x7F, + 0x7F, + 0x7F, + 0x7F, + 0x7F, + 0x00, + 0x00, + 0xF7, + 0xF7, + 0xF7, + 0xF7, + 0xF7, + 0xF7, }, /*.icon_color = */ ui::Color::green().v, /*.menu_location = */ app_location_t::GAMES, diff --git a/firmware/application/external/tetris/main.cpp b/firmware/application/external/tetris/main.cpp index 0ec80da4..2a172b95 100644 --- a/firmware/application/external/tetris/main.cpp +++ b/firmware/application/external/tetris/main.cpp @@ -73,7 +73,7 @@ __attribute__((section(".external_app.app_tetris.application_information"), used 0xFF, 0xF1, }, - /*.icon_color = */ ui::Color::orange().v, + /*.icon_color = */ ui::Color::green().v, /*.menu_location = */ app_location_t::GAMES, /*.desired_menu_position = */ -1, diff --git a/firmware/graphics/icon_breakout.png b/firmware/graphics/icon_breakout.png new file mode 100644 index 0000000000000000000000000000000000000000..6482db1236749bc282fccb0d3b0825b3e8e24c55 GIT binary patch literal 137 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`oCO|{#S9F5M?jcysy3fAP|(`b z#WBR9H#sFC;m3Ig#)O~$<+s gB@LOk7x=I<#BNlQK5O(Y6=)2Dr>mdKI;Vst0H&}jv;Y7A literal 0 HcmV?d00001