ui/common/context.c

changeset 1066
afe02792303d
parent 1063
e0251f6e15f7
--- a/ui/common/context.c	Thu Jan 29 20:55:59 2026 +0100
+++ b/ui/common/context.c	Sun Feb 01 11:42:27 2026 +0100
@@ -68,6 +68,9 @@
     ctx->states = cxArrayListCreate(mp->allocator, sizeof(int), 32);
     cxSetCompareFunc(ctx->states, cx_cmp_int);
     
+    ctx->actions = cxHashMapCreate(ctx->allocator, sizeof(UiAction), 8);
+    ctx->action_bindings = cxArrayListCreate(ctx->allocator, sizeof(UiActionBinding), 0);
+    
     ctx->attach_document = uic_context_attach_document;
     ctx->detach_document2 = uic_context_detach_document;
     

mercurial