Show capture file name.

This commit is contained in:
Jared Boone 2016-04-21 11:45:57 -07:00
parent ee51d7fa67
commit 09a39f780a
2 changed files with 7 additions and 0 deletions

View File

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

View File

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