ui/ui/toolkit.h

changeset 29
c96169444d88
parent 26
a137277f9173
child 33
458831c574f4
--- a/ui/ui/toolkit.h	Sun Apr 06 13:21:37 2014 +0200
+++ b/ui/ui/toolkit.h	Thu Apr 10 11:37:41 2014 +0200
@@ -142,6 +142,7 @@
     void  (*insert)(UiText*, int, char*);
     int   (*position)(UiText*);
     void  (*selection)(UiText*, int*, int*); // text, begin, end
+    int   (*length)(UiText*);
     char  *value;
     void  *obj;
     void  *undomgr;
@@ -170,9 +171,11 @@
 };
 
 void ui_init(char *appname, int argc, char **argv);
-void ui_exitfunc(ui_callback f, void *udata);
 char* ui_appname();
 
+void ui_exitfunc(ui_callback f, void *userdata);
+void ui_openfilefunc(ui_callback f, void *userdata);
+
 void ui_main();
 void ui_show(UiObject *obj);
 void ui_set_enabled(UIWIDGET widget, int enabled);

mercurial