Implement context and resource storage slotmaps

This commit is contained in:
Mr-Wiseguy
2025-01-18 20:09:03 -05:00
parent 716f5b5ac6
commit f703c918bc
13 changed files with 647 additions and 68 deletions
+3 -1
View File
@@ -30,7 +30,9 @@ namespace recompui {
add_style(&disabled_style, disabled_state);
add_style(&checked_disabled_style, { checked_state, disabled_state });
floater = new Element(this);
ContextId context = get_current_context();
floater = context.create_element<Element>(this);
floater->set_position(Position::Relative);
floater->set_top(2.0f);
floater->set_width(80.0f);