diff -r 78ae3efe463f -r a137277f9173 ui/ui/toolkit.h --- 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 }