client/uiclient.h

changeset 984
2cf5e6d55013
parent 983
1d7d24147961
--- a/client/uiclient.h	Wed Dec 10 21:22:57 2025 +0100
+++ b/client/uiclient.h	Wed Dec 10 22:22:55 2025 +0100
@@ -44,7 +44,7 @@
     CxMap *widgets;
 } WindowData;
     
-typedef int (*json_msg_handler)(UiObject *parent, const CxJsonValue *value);
+typedef int (*json_msg_handler)(UiObject *parent, const CxJsonValue *value, cxmutstr type);
     
 void client_init(UiMessageHandler *handler);
     
@@ -60,18 +60,18 @@
 UIWIDGET client_get_widget(UiObject *obj, cxmutstr id);
 
 
-int msg_simple_window(UiObject *parent, const CxJsonValue *value);
-int msg_show(UiObject *parent, const CxJsonValue *value);
+int msg_window(UiObject *parent, const CxJsonValue *value, cxmutstr type);
+int msg_show(UiObject *parent, const CxJsonValue *value, cxmutstr type);
 
-int msg_vbox(UiObject *parent, const CxJsonValue *value);
-int msg_hbox(UiObject *parent, const CxJsonValue *value);
-int msg_grid(UiObject *parent, const CxJsonValue *value);
+int msg_vbox(UiObject *parent, const CxJsonValue *value, cxmutstr type);
+int msg_hbox(UiObject *parent, const CxJsonValue *value, cxmutstr type);
+int msg_grid(UiObject *parent, const CxJsonValue *value, cxmutstr type);
 
-int msg_end(UiObject *parent, const CxJsonValue *value);
+int msg_end(UiObject *parent, const CxJsonValue *value, cxmutstr type);
 
-int msg_button(UiObject *parent, const CxJsonValue *value);
+int msg_button(UiObject *parent, const CxJsonValue *value, cxmutstr type);
 
-int msg_togglebutton(UiObject *parent, const CxJsonValue *value);
+int msg_togglebutton(UiObject *parent, const CxJsonValue *value, cxmutstr type);
 
 
 

mercurial