summaryrefslogtreecommitdiff
path: root/FL/Fl_Screen_Driver.H
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-04-15 15:12:22 +0000
committerManolo Gouy <Manolo>2016-04-15 15:12:22 +0000
commit15715cd89856140e70dfcdaf97b70d8f06d96e2b (patch)
tree0148a5736d10a5f0c11a3ba6f9e1db2c8459424b /FL/Fl_Screen_Driver.H
parent397a3b83bf431e8bd00bbfb3c34ba4813fc55152 (diff)
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
Diffstat (limited to 'FL/Fl_Screen_Driver.H')
-rw-r--r--FL/Fl_Screen_Driver.H3
1 files changed, 3 insertions, 0 deletions
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() {}
};