mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-10-01 01:26:06 -04:00
Refresh UIRecordVide status display when appropriate.
This commit is contained in:
parent
44fb66b4f9
commit
0e33d7e5d0
@ -205,6 +205,8 @@ void RecordView::set_sampling_rate(const size_t new_sampling_rate) {
|
||||
text_record_dropped.hidden(sampling_rate == 0);
|
||||
text_time_available.hidden(sampling_rate == 0);
|
||||
rect_background.hidden(sampling_rate != 0);
|
||||
|
||||
update_status_display();
|
||||
}
|
||||
}
|
||||
|
||||
@ -289,6 +291,8 @@ void RecordView::start() {
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
update_status_display();
|
||||
}
|
||||
|
||||
void RecordView::stop() {
|
||||
@ -296,6 +300,8 @@ void RecordView::stop() {
|
||||
capture_thread.reset();
|
||||
button_record.set_bitmap(&bitmap_record);
|
||||
}
|
||||
|
||||
update_status_display();
|
||||
}
|
||||
|
||||
Optional<File::Error> RecordView::write_metadata_file(const std::string& filename) {
|
||||
|
Loading…
Reference in New Issue
Block a user