mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-07-27 08:46:01 -04:00
Disable Back button during Touch Calibration (#2115)
This commit is contained in:
parent
e7359563c6
commit
282e4da1cb
5 changed files with 28 additions and 1 deletions
|
@ -422,6 +422,10 @@ void SystemStatusView::set_back_enabled(bool new_value) {
|
|||
}
|
||||
}
|
||||
|
||||
void SystemStatusView::set_back_hidden(bool new_value) {
|
||||
button_back.hidden(new_value);
|
||||
}
|
||||
|
||||
void SystemStatusView::set_title_image_enabled(bool new_value) {
|
||||
if (new_value) {
|
||||
add_child(&button_title);
|
||||
|
@ -896,6 +900,9 @@ Context& SystemView::context() const {
|
|||
NavigationView* SystemView::get_navigation_view() {
|
||||
return &navigation_view;
|
||||
}
|
||||
SystemStatusView* SystemView::get_status_view() {
|
||||
return &status_view;
|
||||
}
|
||||
|
||||
void SystemView::toggle_overlay() {
|
||||
static uint8_t last_perf_counter_status = shared_memory.request_m4_performance_counter;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue