mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-05-16 05:32:16 -04:00
Very crude ModalMessageView.
Initially for displaying filesystem errors.
This commit is contained in:
parent
ebf0e765ce
commit
92d75fa46d
2 changed files with 37 additions and 0 deletions
|
@ -205,6 +205,24 @@ private:
|
|||
};
|
||||
};
|
||||
|
||||
class ModalMessageView : public View {
|
||||
public:
|
||||
ModalMessageView(NavigationView& nav, std::string message);
|
||||
|
||||
void focus() override;
|
||||
|
||||
private:
|
||||
Text text_message {
|
||||
{ 0 * 8, 7 * 16, 30 * 8, 16 },
|
||||
""
|
||||
};
|
||||
|
||||
Button button_done {
|
||||
{ 10 * 8, 13 * 16, 10 * 8, 24 },
|
||||
"OK",
|
||||
};
|
||||
};
|
||||
|
||||
} /* namespace ui */
|
||||
|
||||
#endif/*__UI_NAVIGATION_H__*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue