diff --git a/firmware/application/apps/soundboard_app.cpp b/firmware/application/apps/soundboard_app.cpp index 3c267a4bcf2775e7b033a7f38d551d5995f2ffb2..2afd9790d6fb04dffbad2d662a821363af4297ae 100644 --- a/firmware/application/apps/soundboard_app.cpp +++ b/firmware/application/apps/soundboard_app.cpp @@ -207,8 +207,8 @@ SoundBoardView::SoundBoardView( &menu_view, &text_empty, &options_tone_key, - &text_title, - &text_duration, + //&text_title, + //&text_duration, &progressbar, &check_loop, &check_random, @@ -217,7 +217,7 @@ SoundBoardView::SoundBoardView( refresh_list(); - text_title.set(to_string_dec_uint(file_list.size())); + //text_title.set(to_string_dec_uint(file_list.size())); tone_keys_populate(options_tone_key); options_tone_key.set_selected_index(0); diff --git a/firmware/application/apps/soundboard_app.hpp b/firmware/application/apps/soundboard_app.hpp index 2bd64b607f9b02d4a3a636d310f0b368aef71bfb..cea284bd0efb40b62cb4dd5f349bca6bc3a98c5b 100644 --- a/firmware/application/apps/soundboard_app.hpp +++ b/firmware/application/apps/soundboard_app.hpp @@ -80,12 +80,12 @@ private: void on_select_entry(); Labels labels { - { { 0, 20 * 8 + 4 }, "Title:", Color::light_grey() }, - { { 0, 23 * 8 }, "Key:", Color::light_grey() } + //{ { 0, 20 * 8 + 4 }, "Title:", Color::light_grey() }, + { { 0, 180 }, "Key:", Color::light_grey() } }; MenuView menu_view { - { 0, 2 * 8, 240, 20 * 8 }, + { 0, 0, 240, 175 }, true }; Text text_empty { @@ -93,22 +93,22 @@ private: "Empty directory !", }; - Text text_title { + /*Text text_title { { 6 * 8, 20 * 8 + 4, 15 * 8, 16 } - }; + };*/ - Text text_duration { + /*Text text_duration { { 22 * 8, 20 * 8 + 4, 6 * 8, 16 } - }; + };*/ OptionsField options_tone_key { - { 4 * 8, 23 * 8 }, + { 32 , 180 }, 18, { } }; Checkbox check_loop { - { 8, 25 * 8 + 4 }, + { 0, 25 * 8 + 4 }, 4, "Loop" };