mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-05-17 06:02:19 -04:00
Make Widget flags private, expose via methods.
This commit is contained in:
parent
9a33fc884a
commit
7cb3bbc9f8
6 changed files with 37 additions and 25 deletions
|
@ -53,8 +53,6 @@ public:
|
|||
|
||||
private:
|
||||
const MenuItem item;
|
||||
|
||||
void set_highlight(const bool value);
|
||||
};
|
||||
|
||||
class MenuView : public View {
|
||||
|
@ -62,7 +60,7 @@ public:
|
|||
std::function<void(void)> on_left;
|
||||
|
||||
MenuView() {
|
||||
flags.focusable = true;
|
||||
set_focusable(true);
|
||||
}
|
||||
|
||||
~MenuView();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue