summaryrefslogtreecommitdiff
path: root/src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.H
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-03-31 19:23:38 +0000
committerManolo Gouy <Manolo>2016-03-31 19:23:38 +0000
commit5d12ea5ab12d3b911777bb8cbdeb70c3d183267c (patch)
treec621a3b7c3d685aee8735c9ce807efed708fadef /src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.H
parent740760109d9bb2646bf870ebca6af26da0f31f78 (diff)
Move marked text-related data to the Fl_Cocoa_Screen_Driver class.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11488 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.H')
-rw-r--r--src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.H6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.H b/src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.H
index ff0dcb062..60e2355d8 100644
--- a/src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.H
+++ b/src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.H
@@ -48,7 +48,10 @@ protected:
XRectangle screens[MAX_SCREENS];
float dpi_h[MAX_SCREENS];
float dpi_v[MAX_SCREENS];
-
+ static int insertion_point_x;
+ static int insertion_point_y;
+ static int insertion_point_height;
+ static bool insertion_point_location_is_valid;
public:
// --- display management
// --- screen configuration
@@ -79,6 +82,7 @@ public:
virtual int has_marked_text();
virtual void reset_marked_text();
virtual void insertion_point_location(int x, int y, int height);
+ int insertion_point_location(int *px, int *py, int *pheight);
};