From 482c4a5e0a52cc19396fd931c651dc2d89ea8be4 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Sun, 13 Jan 2013 15:25:37 +0000 Subject: Mac OS: added support for the text input feature introduced in OS 10.7 "Lion" where pressing and holding some key opens a window with possible accented characters. This feature is used by the Fl_Input_ and Fl_Text_Editor widgets. User-defined text input widgets can optionally use this feature, but the default behavior is to not use it. Fl_Secret_Input turns it off, for example. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9792 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/mac.H | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'FL/mac.H') diff --git a/FL/mac.H b/FL/mac.H index e3e85d1d5..1db469ac4 100644 --- a/FL/mac.H +++ b/FL/mac.H @@ -132,7 +132,7 @@ public: 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 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 + static int insertion_point_location(int *px, int *py, int *pheight); // computes window coordinates & height of insertion point private: static void relink(Fl_Window*, Fl_Window*); bool subwindow; -- cgit v1.2.3