From 2fcb4f419217eb2895ad0e52b15aab252eb827ef Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Fri, 15 Apr 2016 15:36:10 +0000 Subject: Move platform-dependent implementations of fl_open/close_display() to the Fl_Screen_Driver class git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11619 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl.H | 8 -------- FL/Fl_Screen_Driver.H | 4 ++++ 2 files changed, 4 insertions(+), 8 deletions(-) (limited to 'FL') diff --git a/FL/Fl.H b/FL/Fl.H index 40e845cdb..9c472a29b 100644 --- a/FL/Fl.H +++ b/FL/Fl.H @@ -842,15 +842,7 @@ int main() { static int event_inside(const Fl_Widget*); static int test_shortcut(Fl_Shortcut); - /** - Enables the system input methods facilities. This is the default. - \see disable_im() - */ static void enable_im(); - /** - Disables the system input methods facilities. - \see enable_im() - */ static void disable_im(); // event destinations: diff --git a/FL/Fl_Screen_Driver.H b/FL/Fl_Screen_Driver.H index 1d19c16ca..a96857bd1 100644 --- a/FL/Fl_Screen_Driver.H +++ b/FL/Fl_Screen_Driver.H @@ -138,6 +138,10 @@ public: // optional methods to enable/disable input methods for complex scripts virtual void enable_im() {} virtual void disable_im() {} + // implement to open access to the display + virtual void open_display() {} + // optional method to close display access + virtual void close_display() {} }; -- cgit v1.2.3