mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-08 14:42:33 -04:00
Working pmem load flag checkbox
This commit is contained in:
parent
9540776afd
commit
835bc49999
2 changed files with 504 additions and 382 deletions
|
@ -432,6 +432,54 @@ private:
|
|||
};
|
||||
};
|
||||
|
||||
class SetPersistentMemoryView : public View {
|
||||
public:
|
||||
SetPersistentMemoryView(NavigationView& nav);
|
||||
|
||||
void focus() override;
|
||||
|
||||
std::string title() const override { return "Mem Mgmt"; };
|
||||
|
||||
private:
|
||||
|
||||
Text text_pmem_about {
|
||||
{ 0, 1 * 16, 240 , 16 },
|
||||
"PersistentMemory from/to SD"
|
||||
};
|
||||
|
||||
Text text_pmem_informations {
|
||||
{ 0, 2 * 16, 240 , 16 },
|
||||
"use: when no/dead coin bat."
|
||||
};
|
||||
|
||||
Text text_pmem_status {
|
||||
{ 0, 3 * 16, 240 , 16 },
|
||||
""
|
||||
};
|
||||
|
||||
Checkbox check_load_mem_at_startup {
|
||||
{ 18, 6 * 16},
|
||||
19,
|
||||
"load from sd at startup"
|
||||
};
|
||||
|
||||
Button button_save_mem_to_file {
|
||||
{ 0, 9 * 16, 240, 32 },
|
||||
"save p.mem to sdcard"
|
||||
};
|
||||
|
||||
Button button_load_mem_from_file {
|
||||
{ 0, 12 * 16, 240, 32 },
|
||||
"load p.mem from sdcard"
|
||||
};
|
||||
|
||||
Button button_return {
|
||||
{ 16 * 8, 16 * 16, 12 * 8, 32 },
|
||||
"Return",
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
class SettingsMenuView : public BtnGridView {
|
||||
public:
|
||||
SettingsMenuView(NavigationView& nav);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue