Remove menu.hpp

This commit is contained in:
ArthurSonzogni
2021-07-10 12:59:36 +02:00
committed by Arthur Sonzogni
parent 0ca7da630b
commit d5cb4648d2
7 changed files with 100 additions and 146 deletions

View File

@@ -18,6 +18,8 @@ struct MenuOption {
std::function<void()> on_change = [] {};
/// Called when the user presses enter.
std::function<void()> on_enter = [] {};
Ref<int> focused_entry = 0;
};
/// @brief Option for the Button component.