summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl.H5
-rw-r--r--FL/Fl_Secret_Input.H1
-rw-r--r--FL/mac.H3
3 files changed, 8 insertions, 1 deletions
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.
diff --git a/FL/Fl_Secret_Input.H b/FL/Fl_Secret_Input.H
index 3df6d6be7..de9621c73 100644
--- a/FL/Fl_Secret_Input.H
+++ b/FL/Fl_Secret_Input.H
@@ -41,6 +41,7 @@ public:
Inherited destructor destroys the widget and any value associated with it.
*/
Fl_Secret_Input(int X,int Y,int W,int H,const char *l = 0);
+ int handle(int);
};
#endif
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;