mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-01-13 02:03:38 +00:00
Minor UI changes to Soundboard
This commit is contained in:
parent
e889a54e55
commit
a467e74a78
@ -207,8 +207,8 @@ SoundBoardView::SoundBoardView(
|
|||||||
&menu_view,
|
&menu_view,
|
||||||
&text_empty,
|
&text_empty,
|
||||||
&options_tone_key,
|
&options_tone_key,
|
||||||
&text_title,
|
//&text_title,
|
||||||
&text_duration,
|
//&text_duration,
|
||||||
&progressbar,
|
&progressbar,
|
||||||
&check_loop,
|
&check_loop,
|
||||||
&check_random,
|
&check_random,
|
||||||
@ -217,7 +217,7 @@ SoundBoardView::SoundBoardView(
|
|||||||
|
|
||||||
refresh_list();
|
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);
|
tone_keys_populate(options_tone_key);
|
||||||
options_tone_key.set_selected_index(0);
|
options_tone_key.set_selected_index(0);
|
||||||
|
@ -80,12 +80,12 @@ private:
|
|||||||
void on_select_entry();
|
void on_select_entry();
|
||||||
|
|
||||||
Labels labels {
|
Labels labels {
|
||||||
{ { 0, 20 * 8 + 4 }, "Title:", Color::light_grey() },
|
//{ { 0, 20 * 8 + 4 }, "Title:", Color::light_grey() },
|
||||||
{ { 0, 23 * 8 }, "Key:", Color::light_grey() }
|
{ { 0, 180 }, "Key:", Color::light_grey() }
|
||||||
};
|
};
|
||||||
|
|
||||||
MenuView menu_view {
|
MenuView menu_view {
|
||||||
{ 0, 2 * 8, 240, 20 * 8 },
|
{ 0, 0, 240, 175 },
|
||||||
true
|
true
|
||||||
};
|
};
|
||||||
Text text_empty {
|
Text text_empty {
|
||||||
@ -93,22 +93,22 @@ private:
|
|||||||
"Empty directory !",
|
"Empty directory !",
|
||||||
};
|
};
|
||||||
|
|
||||||
Text text_title {
|
/*Text text_title {
|
||||||
{ 6 * 8, 20 * 8 + 4, 15 * 8, 16 }
|
{ 6 * 8, 20 * 8 + 4, 15 * 8, 16 }
|
||||||
};
|
};*/
|
||||||
|
|
||||||
Text text_duration {
|
/*Text text_duration {
|
||||||
{ 22 * 8, 20 * 8 + 4, 6 * 8, 16 }
|
{ 22 * 8, 20 * 8 + 4, 6 * 8, 16 }
|
||||||
};
|
};*/
|
||||||
|
|
||||||
OptionsField options_tone_key {
|
OptionsField options_tone_key {
|
||||||
{ 4 * 8, 23 * 8 },
|
{ 32 , 180 },
|
||||||
18,
|
18,
|
||||||
{ }
|
{ }
|
||||||
};
|
};
|
||||||
|
|
||||||
Checkbox check_loop {
|
Checkbox check_loop {
|
||||||
{ 8, 25 * 8 + 4 },
|
{ 0, 25 * 8 + 4 },
|
||||||
4,
|
4,
|
||||||
"Loop"
|
"Loop"
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user