* Allow touc interface support for widget setup exit * fix * Create BACK Button.
This commit is contained in:
@@ -177,6 +177,16 @@ class SetupWidgetsPage: public FormWindow
|
|||||||
auto widget = new SetupWidgetsPageSlot(this, rect, customScreens[customScreenIdx], i);
|
auto widget = new SetupWidgetsPageSlot(this, rect, customScreens[customScreenIdx], i);
|
||||||
if (i == 0) widget->setFocus();
|
if (i == 0) widget->setFocus();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if defined(HARDWARE_TOUCH)
|
||||||
|
new Button(
|
||||||
|
this, {0, 0, MENU_HEADER_BUTTON_WIDTH, MENU_HEADER_BUTTON_WIDTH},
|
||||||
|
[this]() -> uint8_t {
|
||||||
|
this->deleteLater();
|
||||||
|
return 1;
|
||||||
|
},
|
||||||
|
NO_FOCUS | FORM_NO_BORDER);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(DEBUG_WINDOWS)
|
#if defined(DEBUG_WINDOWS)
|
||||||
|
|||||||
Reference in New Issue
Block a user