ui/common/context.h

changeset 1066
afe02792303d
parent 1063
e0251f6e15f7
--- a/ui/common/context.h	Thu Jan 29 20:55:59 2026 +0100
+++ b/ui/common/context.h	Sun Feb 01 11:42:27 2026 +0100
@@ -36,6 +36,8 @@
 #include <cx/list.h>
 #include <cx/linked_list.h>
 
+#include "action.h"
+
 #ifdef	__cplusplus
 extern "C" {
 #endif
@@ -72,6 +74,9 @@
     CxList        *states; // int list
     CxList        *state_widgets; // UiGroupWidget list
     
+    CxMap         *actions; // key: action name (string), value: UiAction
+    CxList        *action_bindings; // UiActionBinding list
+    
     void (*attach_document)(UiContext *ctx, void *document);
     void (*detach_document2)(UiContext *ctx, void *document); 
     

mercurial