From 29457f0e465ac68ad2f3ac8effa08caacf6bb347 Mon Sep 17 00:00:00 2001 From: Erwin Ried <1091420+eried@users.noreply.github.com> Date: Sun, 31 May 2020 20:21:54 +0200 Subject: [PATCH] New icons --- firmware/application/bitmap.hpp | 154 ++++++++++++++++++++++ firmware/graphics/icon_back.png | Bin 0 -> 168 bytes firmware/graphics/icon_delete.png | Bin 0 -> 153 bytes firmware/graphics/icon_load.png | Bin 0 -> 174 bytes firmware/graphics/icon_new_category.png | Bin 0 -> 186 bytes firmware/graphics/icon_rename.png | Bin 0 -> 171 bytes firmware/graphics/icon_rename_numeric.png | Bin 0 -> 171 bytes firmware/graphics/icon_save.png | Bin 0 -> 171 bytes 8 files changed, 154 insertions(+) create mode 100644 firmware/graphics/icon_back.png create mode 100644 firmware/graphics/icon_delete.png create mode 100644 firmware/graphics/icon_load.png create mode 100644 firmware/graphics/icon_new_category.png create mode 100644 firmware/graphics/icon_rename.png create mode 100644 firmware/graphics/icon_rename_numeric.png create mode 100644 firmware/graphics/icon_save.png diff --git a/firmware/application/bitmap.hpp b/firmware/application/bitmap.hpp index e1f9f10b..13477161 100644 --- a/firmware/application/bitmap.hpp +++ b/firmware/application/bitmap.hpp @@ -185,6 +185,28 @@ static constexpr Bitmap bitmap_icon_aprs { { 16, 16 }, bitmap_icon_aprs_data }; +static constexpr uint8_t bitmap_icon_back_data[] = { + 0x00, 0x00, + 0x30, 0x00, + 0x38, 0x00, + 0x1C, 0x00, + 0x0E, 0x00, + 0xFF, 0x3F, + 0xFF, 0x7F, + 0x0E, 0xE0, + 0x1C, 0xC0, + 0x38, 0xC0, + 0x30, 0xC0, + 0x00, 0xE0, + 0x00, 0x7F, + 0x00, 0x3F, + 0x00, 0x00, + 0x00, 0x00, +}; +static constexpr Bitmap bitmap_icon_back { + { 16, 16 }, bitmap_icon_back_data +}; + static constexpr uint8_t bitmap_icon_bht_data[] = { 0x00, 0x00, 0xE0, 0x07, @@ -449,6 +471,28 @@ static constexpr Bitmap bitmap_icon_debug { { 16, 16 }, bitmap_icon_debug_data }; +static constexpr uint8_t bitmap_icon_delete_data[] = { + 0x00, 0x00, + 0x00, 0x00, + 0x0C, 0x30, + 0x1C, 0x38, + 0x38, 0x1C, + 0x70, 0x0E, + 0xE0, 0x07, + 0xC0, 0x03, + 0xC0, 0x03, + 0xE0, 0x07, + 0x70, 0x0E, + 0x38, 0x1C, + 0x1C, 0x38, + 0x0C, 0x30, + 0x00, 0x00, + 0x00, 0x00, +}; +static constexpr Bitmap bitmap_icon_delete { + { 16, 16 }, bitmap_icon_delete_data +}; + static constexpr uint8_t bitmap_icon_dir_data[] = { 0x00, 0x00, 0x3E, 0x00, @@ -801,6 +845,28 @@ static constexpr Bitmap bitmap_icon_lge { { 16, 16 }, bitmap_icon_lge_data }; +static constexpr uint8_t bitmap_icon_load_data[] = { + 0x00, 0x01, + 0x80, 0x03, + 0x40, 0x05, + 0x00, 0x01, + 0x0E, 0x01, + 0x11, 0x01, + 0x7F, 0x1D, + 0x01, 0x20, + 0xF9, 0xFF, + 0xF9, 0xFF, + 0xFD, 0x7F, + 0xFD, 0x7F, + 0xFF, 0x3F, + 0xFF, 0x3F, + 0xFF, 0x1F, + 0xFF, 0x1F, +}; +static constexpr Bitmap bitmap_icon_load { + { 16, 16 }, bitmap_icon_load_data +}; + static constexpr uint8_t bitmap_icon_lora_data[] = { 0xC0, 0x03, 0x30, 0x0C, @@ -889,6 +955,28 @@ static constexpr Bitmap bitmap_icon_morse { { 16, 16 }, bitmap_icon_morse_data }; +static constexpr uint8_t bitmap_icon_new_category_data[] = { + 0x00, 0x18, + 0x3E, 0x18, + 0x41, 0x7E, + 0xC1, 0x7E, + 0xFF, 0x18, + 0xFF, 0xDB, + 0xFF, 0xC3, + 0xFF, 0xFF, + 0xFF, 0xFF, + 0xFF, 0xFF, + 0xAF, 0xEA, + 0x57, 0xF5, + 0xEF, 0xEF, + 0xF7, 0xF7, + 0xEE, 0x6F, + 0x00, 0x00, +}; +static constexpr Bitmap bitmap_icon_new_category { + { 16, 16 }, bitmap_icon_new_category_data +}; + static constexpr uint8_t bitmap_icon_notepad_data[] = { 0x0C, 0x00, 0x1E, 0x00, @@ -1065,6 +1153,50 @@ static constexpr Bitmap bitmap_icon_remote { { 16, 16 }, bitmap_icon_remote_data }; +static constexpr uint8_t bitmap_icon_rename_data[] = { + 0x00, 0x00, + 0x00, 0x00, + 0x00, 0x0E, + 0x00, 0x04, + 0xFF, 0xF5, + 0x01, 0x84, + 0xC9, 0x84, + 0x55, 0x85, + 0xDD, 0x84, + 0x55, 0x85, + 0xD5, 0x84, + 0x01, 0x84, + 0xFF, 0xF5, + 0x00, 0x04, + 0x00, 0x0E, + 0x00, 0x00, +}; +static constexpr Bitmap bitmap_icon_rename { + { 16, 16 }, bitmap_icon_rename_data +}; + +static constexpr uint8_t bitmap_icon_rename_numeric_data[] = { + 0x00, 0x00, + 0x00, 0x00, + 0x00, 0x0E, + 0x00, 0x04, + 0xFF, 0xF5, + 0x01, 0x84, + 0xC9, 0x85, + 0x0D, 0x85, + 0xC9, 0x85, + 0x49, 0x84, + 0xDD, 0x85, + 0x01, 0x84, + 0xFF, 0xF5, + 0x00, 0x04, + 0x00, 0x0E, + 0x00, 0x00, +}; +static constexpr Bitmap bitmap_icon_rename_numeric { + { 16, 16 }, bitmap_icon_rename_numeric_data +}; + static constexpr uint8_t bitmap_icon_replay_data[] = { 0x00, 0x00, 0x00, 0x00, @@ -1087,6 +1219,28 @@ static constexpr Bitmap bitmap_icon_replay { { 16, 16 }, bitmap_icon_replay_data }; +static constexpr uint8_t bitmap_icon_save_data[] = { + 0x00, 0x01, + 0x00, 0x01, + 0x00, 0x01, + 0x00, 0x01, + 0x4E, 0x05, + 0x91, 0x03, + 0x3F, 0x19, + 0x01, 0x20, + 0xF9, 0xFF, + 0xF9, 0xFF, + 0xFD, 0x7F, + 0xFD, 0x7F, + 0xFF, 0x3F, + 0xFF, 0x3F, + 0xFF, 0x1F, + 0xFF, 0x1F, +}; +static constexpr Bitmap bitmap_icon_save { + { 16, 16 }, bitmap_icon_save_data +}; + static constexpr uint8_t bitmap_icon_scanner_data[] = { 0x03, 0x00, 0x00, 0x00, diff --git a/firmware/graphics/icon_back.png b/firmware/graphics/icon_back.png new file mode 100644 index 0000000000000000000000000000000000000000..70161badfd3248b15eb922035c06cd3746f7a633 GIT binary patch literal 168 zcmeAS@N?(olHy`uVBq!ia0y~yU=RRd4mJh`2Kmqb6B!s7@;qG}LoEE4208K_P~eFE z|38CAP2!HjlFttuGc|Q9>g4u(R8soI_TaPl*IQjYK7s}hZhGj8*>KwIc)YyQMRT}4jL8l|gBOIgf4TjWv>1fN;8>CX3_gtrHKp9K4^T##kJpnJjj X?{(%En-~}v7(8A5T-G@yG%)}GYyd!4 literal 0 HcmV?d00001 diff --git a/firmware/graphics/icon_delete.png b/firmware/graphics/icon_delete.png new file mode 100644 index 0000000000000000000000000000000000000000..a83bf91c09b940f35c0e5daa63c03957ce0afd2f GIT binary patch literal 153 zcmeAS@N?(olHy`uVBq!ia0y~yU=RRd4mJh`2Kmqb6B!s7;yhg(LoEEaPIeSxP~c#C z{J($O%Yfu%GK+SxMK4;^$-Zd6Zo|x*4U7vetgvR_F*+N!dG9pNw9cz{Ki>5@aUgT= zy$8OEZ?LoEE)P7dTdpupjL z{4f96Lz5=;HFnIjms;bmqjWuC#j05`E-c6Av6{^|s&pi{fmPe^(M{G9E@2EEQ3p=3 zom*FPsIQ+bsbT%yWpD_8)oDgRI+doBkw{uLV$c5TDIsczJmN~!a pkNDoyzR$Gp*j^WU~sCMPj4Ffe$!`njxgN@!wW001oYMu7kT literal 0 HcmV?d00001 diff --git a/firmware/graphics/icon_rename.png b/firmware/graphics/icon_rename.png new file mode 100644 index 0000000000000000000000000000000000000000..2ce7fd175ecd37afd7dd685c092f4ccc9a6e3efa GIT binary patch literal 171 zcmeAS@N?(olHy`uVBq!ia0y~yU=RRd4mJh`2Kmqb6B!s73O!vMLoEFFP7dTdpupk$ z_Ame0rirZ5f0B$V_`X6$bQa_Ldf`ZY zKbGRN>J@f^;b&Jix~HVbS6}LFu+IIspJjR8bk3;l6FS$wR}hZ2tLYSN_W$Qpa)G(2 Zbo<*YvA-i37#J8lUHx3vIVChP002E(J=OpK literal 0 HcmV?d00001 diff --git a/firmware/graphics/icon_rename_numeric.png b/firmware/graphics/icon_rename_numeric.png new file mode 100644 index 0000000000000000000000000000000000000000..7aca71baa00ba3e6bc419d4945e59a8b910aeec1 GIT binary patch literal 171 zcmeAS@N?(olHy`uVBq!ia0y~yU=RRd4mJh`2Kmqb6B!s73O!vMLoEE)21oN9P~h17 z-QI-TP3&67h6V9$w}Rx7O!#O02^10#+~~q!H)m4Aq|la=QtjdWrvevoe)uhZqH1HY zL9*O~-RrGI4YFgFZ{K%xo#g|+%}$Ck4ouxIpjyQ+ aD{Apud9%Ym7#J8BJYD@<);T3KF#rIp^gtc} literal 0 HcmV?d00001 diff --git a/firmware/graphics/icon_save.png b/firmware/graphics/icon_save.png new file mode 100644 index 0000000000000000000000000000000000000000..a01be34e8446c13211108496aa792397e9a09cf7 GIT binary patch literal 171 zcmeAS@N?(olHy`uVBq!ia0y~yU=RRd4mJh`2Kmqb6B!s73OrpLLoEESPQJ}`K!L~k z?Em@__oEJB+HnHMY6LgRO?C@ZJA8(R!7cSLuiOvL1F1nqe}k&#BDv literal 0 HcmV?d00001