Modified recomp UI event handling to allow event parameters using ":" as a delimiter

This commit is contained in:
Mr-Wiseguy
2024-01-07 02:03:12 -05:00
parent 7a27d6555c
commit c26151cd6b
4 changed files with 21 additions and 9 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ namespace recomp {
std::unique_ptr<MenuController> create_launcher_menu();
std::unique_ptr<MenuController> create_config_menu();
using event_handler_t = void(Rml::Event&);
using event_handler_t = void(const std::string& param, Rml::Event&);
void queue_event(const SDL_Event& event);
bool try_deque_event(SDL_Event& out);