mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-05-12 11:42:13 -04:00
3D buttons, to make UI clearer
This commit is contained in:
parent
843c465c73
commit
75e8a664b0
13 changed files with 63 additions and 36 deletions
|
@ -81,6 +81,12 @@ RDSView::RDSView(NavigationView& nav) {
|
|||
strcpy(PSN, "TEST1234");
|
||||
strcpy(RadioText, "Radiotext test ABCD1234");
|
||||
|
||||
rds_flags.DI = false;
|
||||
rds_flags.MS = false;
|
||||
rds_flags.PI_code = 0x1337;
|
||||
rds_flags.TA = false;
|
||||
rds_flags.TP = true;
|
||||
|
||||
add_children({ {
|
||||
&field_frequency,
|
||||
&options_pty,
|
||||
|
@ -110,7 +116,6 @@ RDSView::RDSView(NavigationView& nav) {
|
|||
};
|
||||
};
|
||||
|
||||
options_pty.set_selected_index(0); // None
|
||||
options_countrycode.set_selected_index(18); // France
|
||||
options_coverage.set_selected_index(0); // Local
|
||||
|
||||
|
@ -118,6 +123,8 @@ RDSView::RDSView(NavigationView& nav) {
|
|||
rds_flags.PTY = v;
|
||||
};
|
||||
|
||||
options_pty.set_selected_index(0); // None
|
||||
|
||||
button_editpsn.on_select = [this,&nav](Button&) {
|
||||
textentry(nav, PSN, 8);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue