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/mac.H | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'FL/mac.H') diff --git a/FL/mac.H b/FL/mac.H index 9365f5007..e3e85d1d5 100644 --- a/FL/mac.H +++ b/FL/mac.H @@ -131,7 +131,8 @@ public: static CGContextRef none_cursor_image(void); static void *get_carbon_function(const char *name); static void screen_work_area(int &X, int &Y, int &W, int &H, int n); // compute work area of a given screen - static void compose_state(int); + static int next_marked_length; // next length of marked text after current marked text will have been replaced + static int insertion_point_location(int *px, int *py); // computes window coordinates of insertion point private: static void relink(Fl_Window*, Fl_Window*); bool subwindow; -- cgit v1.2.3