mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-08 14:42:33 -04:00
Added cancel button in UI settings.
This commit is contained in:
parent
1f27af660d
commit
8c1593fab9
2 changed files with 34 additions and 23 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue