diff --git a/firmware/application/apps/ui_fileman.hpp b/firmware/application/apps/ui_fileman.hpp index 68efa2e2..2ea38571 100644 --- a/firmware/application/apps/ui_fileman.hpp +++ b/firmware/application/apps/ui_fileman.hpp @@ -67,8 +67,9 @@ protected: { ".TXT", &bitmap_icon_file_text, ui::Color::white() }, { ".PNG", &bitmap_icon_file_image, ui::Color::green() }, { ".BMP", &bitmap_icon_file_image, ui::Color::green() }, + { ".C8", &bitmap_icon_file_iq, ui::Color::blue() }, { ".C16", &bitmap_icon_file_iq, ui::Color::blue() }, - { ".WAV", &bitmap_icon_speaker, ui::Color::dark_magenta() }, + { ".WAV", &bitmap_icon_file_wav, ui::Color::dark_magenta() }, { "", &bitmap_icon_file, ui::Color::light_grey() } }; diff --git a/firmware/application/bitmap.hpp b/firmware/application/bitmap.hpp index 45c254e1..e1f9f10b 100644 --- a/firmware/application/bitmap.hpp +++ b/firmware/application/bitmap.hpp @@ -582,27 +582,49 @@ static constexpr Bitmap bitmap_icon_file_iq { }; static constexpr uint8_t bitmap_icon_file_text_data[] = { - 0x00, 0x20, - 0x00, 0x30, - 0x00, 0x38, - 0x00, 0x38, - 0x00, 0x34, - 0x00, 0x32, - 0x00, 0x31, - 0x80, 0x30, - 0xC0, 0x30, - 0xE0, 0x3F, - 0x30, 0x30, - 0x18, 0x30, - 0x0C, 0x30, - 0x0E, 0x78, - 0x1F, 0xFC, - 0x00, 0x00, + 0xFC, 0x03, + 0x04, 0x06, + 0x04, 0x0E, + 0x04, 0x1E, + 0xF4, 0x3E, + 0x04, 0x20, + 0xF4, 0x2F, + 0x04, 0x20, + 0xF4, 0x2F, + 0x04, 0x20, + 0xF4, 0x2F, + 0x04, 0x20, + 0xF4, 0x2F, + 0x04, 0x20, + 0x04, 0x20, + 0xFC, 0x3F, }; static constexpr Bitmap bitmap_icon_file_text { { 16, 16 }, bitmap_icon_file_text_data }; +static constexpr uint8_t bitmap_icon_file_wav_data[] = { + 0xFC, 0x03, + 0x04, 0x06, + 0x04, 0x0E, + 0x04, 0x1E, + 0x04, 0x3E, + 0x84, 0x20, + 0xC4, 0x22, + 0xF4, 0x20, + 0xF4, 0x2E, + 0xF4, 0x20, + 0xC4, 0x22, + 0x84, 0x24, + 0x04, 0x28, + 0x04, 0x20, + 0x04, 0x20, + 0xFC, 0x3F, +}; +static constexpr Bitmap bitmap_icon_file_wav { + { 16, 16 }, bitmap_icon_file_wav_data +}; + static constexpr uint8_t bitmap_icon_fox_data[] = { 0x18, 0x18, 0x28, 0x14, @@ -1044,22 +1066,22 @@ static constexpr Bitmap bitmap_icon_remote { }; static constexpr uint8_t bitmap_icon_replay_data[] = { - 0x60, 0x00, - 0xE0, 0x00, - 0xE0, 0x01, - 0xE0, 0x03, - 0xE0, 0x07, - 0xE0, 0x0F, - 0xE0, 0x1F, - 0xE0, 0x3F, - 0xE0, 0x3F, - 0xE0, 0x1F, - 0xE0, 0x0F, - 0xE0, 0x07, - 0xE0, 0x03, - 0xE0, 0x01, - 0xE0, 0x00, - 0x60, 0x00, + 0x00, 0x00, + 0x00, 0x00, + 0x0C, 0x00, + 0x3C, 0x00, + 0xFC, 0x00, + 0xFC, 0x03, + 0xFC, 0x0F, + 0xFC, 0x3F, + 0xFC, 0x3F, + 0xFC, 0x0F, + 0xFC, 0x03, + 0xFC, 0x00, + 0x3C, 0x00, + 0x0C, 0x00, + 0x00, 0x00, + 0x00, 0x00, }; static constexpr Bitmap bitmap_icon_replay { { 16, 16 }, bitmap_icon_replay_data diff --git a/firmware/graphics/icon_file_text.png b/firmware/graphics/icon_file_text.png index b31f8129..c5f4a0d4 100644 Binary files a/firmware/graphics/icon_file_text.png and b/firmware/graphics/icon_file_text.png differ diff --git a/firmware/graphics/icon_file_wav.png b/firmware/graphics/icon_file_wav.png new file mode 100644 index 00000000..2e798c2d Binary files /dev/null and b/firmware/graphics/icon_file_wav.png differ diff --git a/firmware/graphics/icon_replay.png b/firmware/graphics/icon_replay.png index ae6e6947..04b0b2d5 100644 Binary files a/firmware/graphics/icon_replay.png and b/firmware/graphics/icon_replay.png differ