mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-02-17 13:14:18 -05: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_frequency,
|
||||||
&field_lna,
|
&field_lna,
|
||||||
&field_vga,
|
&field_vga,
|
||||||
|
&text_record_filename,
|
||||||
&waterfall,
|
&waterfall,
|
||||||
} });
|
} });
|
||||||
|
|
||||||
@ -106,6 +107,7 @@ void CaptureAppView::on_start_stop() {
|
|||||||
button_start_stop.set_bitmap(&bitmap_record);
|
button_start_stop.set_bitmap(&bitmap_record);
|
||||||
} else {
|
} else {
|
||||||
const auto filename = next_filename_matching_pattern("BBD_????.C16");
|
const auto filename = next_filename_matching_pattern("BBD_????.C16");
|
||||||
|
text_record_filename.set(filename);
|
||||||
if( filename.empty() ) {
|
if( filename.empty() ) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -114,6 +114,11 @@ private:
|
|||||||
Color::black()
|
Color::black()
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Text text_record_filename {
|
||||||
|
{ 3 * 8, 2 * 16, 12 * 8, 16 },
|
||||||
|
"",
|
||||||
|
};
|
||||||
|
|
||||||
RSSI rssi {
|
RSSI rssi {
|
||||||
{ 21 * 8, 0, 6 * 8, 4 },
|
{ 21 * 8, 0, 6 * 8, 4 },
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user