Manual navigation in UI framework and WIP mod menu navigation

This commit is contained in:
Mr-Wiseguy
2025-04-16 16:15:37 -04:00
parent 6166fffc99
commit afc880521c
23 changed files with 128 additions and 12 deletions
+5
View File
@@ -147,6 +147,11 @@ void Element::handle_event(const Event& event) {
process_event(event);
}
void Element::set_id(const std::string& new_id) {
id = new_id;
base->SetId(new_id);
}
void Element::ProcessEvent(Rml::Event &event) {
ContextId prev_context = recompui::try_close_current_context();
ContextId context = ContextId::null();