From cf672dba0db831679ba0cb5b9966a6dd1bbcb6e5 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Mon, 24 Dec 2012 11:45:07 +0000 Subject: Mac OS text input: defined a small API that user-defined text editing widgets can use to signal marked text. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9774 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl.H | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'FL/Fl.H') diff --git a/FL/Fl.H b/FL/Fl.H index bb4680fc9..1d27bd3bb 100644 --- a/FL/Fl.H +++ b/FL/Fl.H @@ -144,6 +144,11 @@ public: // should be private! static Fl_Window* grab_; static int compose_state; static void call_screen_init(); // recompute screen number and dimensions +#ifdef __APPLE__ + static int marked_text_length(void); // returns length of marked text + static void reset_marked_text(); // resets marked text + static void insertion_point_location(int x, int y); // sets window coordinates of insertion point +#endif #endif /** If true then flush() will do something. -- cgit v1.2.3