mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-10-01 01:26:06 -04:00
Show capture file name.
This commit is contained in:
parent
ee51d7fa67
commit
09a39f780a
@ -38,6 +38,7 @@ CaptureAppView::CaptureAppView(NavigationView& nav) {
|
||||
&field_frequency,
|
||||
&field_lna,
|
||||
&field_vga,
|
||||
&text_record_filename,
|
||||
&waterfall,
|
||||
} });
|
||||
|
||||
@ -106,6 +107,7 @@ void CaptureAppView::on_start_stop() {
|
||||
button_start_stop.set_bitmap(&bitmap_record);
|
||||
} else {
|
||||
const auto filename = next_filename_matching_pattern("BBD_????.C16");
|
||||
text_record_filename.set(filename);
|
||||
if( filename.empty() ) {
|
||||
return;
|
||||
}
|
||||
|
@ -114,6 +114,11 @@ private:
|
||||
Color::black()
|
||||
};
|
||||
|
||||
Text text_record_filename {
|
||||
{ 3 * 8, 2 * 16, 12 * 8, 16 },
|
||||
"",
|
||||
};
|
||||
|
||||
RSSI rssi {
|
||||
{ 21 * 8, 0, 6 * 8, 4 },
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user