From 15715cd89856140e70dfcdaf97b70d8f06d96e2b Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Fri, 15 Apr 2016 15:12:22 +0000 Subject: Move platform-dependent implementations of Fl::en/dis/able_im() to the Fl_Screen_Driver class git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11618 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Screen_Driver.H | 3 +++ 1 file changed, 3 insertions(+) (limited to 'FL') diff --git a/FL/Fl_Screen_Driver.H b/FL/Fl_Screen_Driver.H index f1bee4bc9..1d19c16ca 100644 --- a/FL/Fl_Screen_Driver.H +++ b/FL/Fl_Screen_Driver.H @@ -135,6 +135,9 @@ public: virtual int input_widget_handle_key(int key, unsigned mods, unsigned shift, Fl_Input *input); // implement to support Fl::get_mouse() virtual void get_mouse(int &x, int &y) {} + // optional methods to enable/disable input methods for complex scripts + virtual void enable_im() {} + virtual void disable_im() {} }; -- cgit v1.2.3