ui/common/types.c

changeset 498
3688266cab3c
parent 497
bf53d553e3dc
--- a/ui/common/types.c	Thu Mar 13 18:40:17 2025 +0100
+++ b/ui/common/types.c	Thu Mar 13 20:43:08 2025 +0100
@@ -624,3 +624,13 @@
     destr->observer = observer;
     cxMempoolSetDestructor(destr, (cx_destructor_func)observer_destructor);
 }
+
+static int ui_set_op = 0;
+
+void ui_setop_enable(int set) {
+    ui_set_op = set;
+}
+
+int ui_get_setop(void) {
+    return ui_set_op;
+}

mercurial