mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-06 05:34:50 -04:00
Modal dialog for partner file action, fix lifetime
This commit is contained in:
parent
2cba96ff36
commit
11f4edc892
10 changed files with 138 additions and 139 deletions
|
@ -39,7 +39,7 @@ struct MenuItem {
|
|||
std::string text;
|
||||
ui::Color color;
|
||||
const Bitmap* bitmap;
|
||||
std::function<void(void)> on_select;
|
||||
std::function<void(KeyEvent)> on_select;
|
||||
|
||||
// TODO: Prevent default-constructed MenuItems.
|
||||
// I managed to construct a menu with three extra, unspecified menu items
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue