cosmetic, ui moves

This commit is contained in:
GullCode 2023-03-26 21:04:43 +02:00
parent 8d60da0a5a
commit 30004a1c3c
2 changed files with 8 additions and 6 deletions

View File

@ -676,7 +676,7 @@ namespace ui {
{ {
if( refresh_display ) if( refresh_display )
{ {
text_max.set( " " ); text_max.set( to_string_dec_int( db ) + " db" );
freq_stats.set( "RSSI: " +to_string_dec_int( rssi.get_min() )+"/"+to_string_dec_int( rssi.get_avg() )+"/"+to_string_dec_int( rssi.get_max() )+" db" ); freq_stats.set( "RSSI: " +to_string_dec_int( rssi.get_min() )+"/"+to_string_dec_int( rssi.get_avg() )+"/"+to_string_dec_int( rssi.get_max() )+" db" );
text_timer.set( "TIMER: " + to_string_dec_int( timer ) ); text_timer.set( "TIMER: " + to_string_dec_int( timer ) );
} }

View File

@ -270,7 +270,7 @@ namespace ui {
}; };
RSSI rssi { RSSI rssi {
{ 0 * 16, 2 * 16, 240 - 4 * 8 - 1 , 16 }, { 0 * 16, 2 * 16, 240 - 5 * 8 - 1 , 16 },
}; };
ButtonWithEncoder text_cycle { ButtonWithEncoder text_cycle {
@ -304,28 +304,30 @@ namespace ui {
{ 0, 7 * 16 , 11 * 8, 16 }, { 0, 7 * 16 , 11 * 8, 16 },
}; };
// T: Senn. 32.000k
Text text_ctcss { Text text_ctcss {
{ 12 * 8 + 4, 7 * 16 , 14 * 8, 1 * 8 }, { 12 * 8 + 4, 7 * 16 , 14 * 8, 1 * 8 },
"" ""
}; };
Button button_recon_setup { Button button_recon_setup {
{ 240 - 4 * 8 , 2 * 16 , 4 * 8, 28 }, { 240 - 5 * 8 , 2 * 16 , 5 * 8, 28 },
"OPT" "OPT"
}; };
Button button_looking_glass { Button button_looking_glass {
{ 240 - 5 * 8 , 6 * 16 - 4 , 5 * 8, 28 }, { 240 - 5 * 8 , 5 * 16 , 5 * 8, 28 },
"GLASS" "GLASS"
}; };
// Button can be RECON or SCANNER
Button button_scanner_mode { Button button_scanner_mode {
{ 240 - 8 * 8 , 8 * 16 , 8 * 8, 28 }, { 240 - 7 * 8 , 8 * 16 , 7 * 8, 28 },
"RECON" "RECON"
}; };
Text file_name { //Show file used Text file_name { //Show file used
{ 0 , 8 * 16 + 6 , 21 * 8, 16 }, { 0 , 8 * 16 + 6 , 240 - 7 * 8, 16 },
}; };
ButtonWithEncoder button_manual_start { ButtonWithEncoder button_manual_start {