ui/ui/toolkit.h

changeset 26
a137277f9173
parent 24
06bceda81a03
child 29
c96169444d88
--- a/ui/ui/toolkit.h	Sat Apr 05 13:02:37 2014 +0200
+++ b/ui/ui/toolkit.h	Sat Apr 05 15:53:41 2014 +0200
@@ -140,6 +140,8 @@
     char* (*get)(UiText*);
     char* (*getsubstr)(UiText*, int, int); // text, begin, end
     void  (*insert)(UiText*, int, char*);
+    int   (*position)(UiText*);
+    void  (*selection)(UiText*, int*, int*); // text, begin, end
     char  *value;
     void  *obj;
     void  *undomgr;
@@ -218,6 +220,8 @@
 void  ui_list_addobsv(UiList *list, ui_callback f, void *data);
 void  ui_list_notify(UiList *list);
 
+void ui_clipboard_set(char *str);
+char* ui_clipboard_get();
 
 #ifdef	__cplusplus
 }

mercurial