summaryrefslogtreecommitdiff
path: root/FL/Fl_Screen_Driver.H
diff options
context:
space:
mode:
Diffstat (limited to 'FL/Fl_Screen_Driver.H')
-rw-r--r--FL/Fl_Screen_Driver.H7
1 files changed, 7 insertions, 0 deletions
diff --git a/FL/Fl_Screen_Driver.H b/FL/Fl_Screen_Driver.H
index 55824a014..cd847684e 100644
--- a/FL/Fl_Screen_Driver.H
+++ b/FL/Fl_Screen_Driver.H
@@ -91,6 +91,13 @@ public:
virtual void remove_timeout(Fl_Timeout_Handler cb, void *argp) = 0;
static int secret_input_character;
+ /* Implement to indicate whether complex text input may involve marked text.
+ When it does, has_marked_text returns non zero and reset_marked_text() and
+ insertion_point_location() must also be implemented.
+ */
+ virtual int has_marked_text() { return 0; }
+ virtual void reset_marked_text() {}
+ virtual void insertion_point_location(int x, int y, int height) {}
};