Added cancel button in UI settings.

This commit is contained in:
Arjan Onwezen 2022-04-08 17:50:21 -04:00
parent 1f27af660d
commit 8c1593fab9
2 changed files with 34 additions and 23 deletions

View file

@ -99,7 +99,7 @@ private:
'0',
};
Button button_done {
Button button_save {
{ 2 * 8, 16 * 16, 12 * 8, 32 },
"Save"
};
@ -197,7 +197,7 @@ private:
"Turn on bias voltage"
};
Button button_done {
Button button_save {
{ 2 * 8, 16 * 16, 12 * 8, 32 },
"Save"
};
@ -272,10 +272,15 @@ private:
}
};
Button button_ok {
Button button_save {
{ 2 * 8, 16 * 16, 12 * 8, 32 },
"Save"
};
Button button_cancel {
{ 16 * 8, 16 * 16, 12 * 8, 32 },
"Cancel",
};
};
class SetAudioView : public View {
@ -317,7 +322,7 @@ public:
void focus() override;
std::string title() const override { return "QR code settings"; };
std::string title() const override { return "QR code"; };
private:
Checkbox checkbox_bigger_qr {