From 2de2f5496820f91c81df65834eee268126086209 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Thu, 31 Mar 2016 17:25:18 +0000 Subject: Move the marked text support member functions from Fl_System_Driver to Fl_Screen_Driver. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11486 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Screen_Driver.H | 7 +++++++ FL/Fl_System_Driver.H | 7 ------- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'FL') 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) {} }; diff --git a/FL/Fl_System_Driver.H b/FL/Fl_System_Driver.H index 9d6bf3220..9c28bbb82 100644 --- a/FL/Fl_System_Driver.H +++ b/FL/Fl_System_Driver.H @@ -129,13 +129,6 @@ public: virtual unsigned utf8from_mb(char* dst, unsigned dstlen, const char* src, unsigned srclen); // implement to shield fprintf() from locale changes in decimal point virtual int clocale_printf(FILE *output, const char *format, va_list args); - /* 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) {} }; #endif // FL_SYSTEM_DRIVER_H -- cgit v1.2.3