3D buttons, to make UI clearer

This commit is contained in:
furrtek 2016-12-09 02:35:50 +01:00
parent 843c465c73
commit 75e8a664b0
13 changed files with 63 additions and 36 deletions

View file

@ -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);
};