diff options
| author | Manolo Gouy <Manolo> | 2016-04-15 15:12:22 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-04-15 15:12:22 +0000 |
| commit | 15715cd89856140e70dfcdaf97b70d8f06d96e2b (patch) | |
| tree | 0148a5736d10a5f0c11a3ba6f9e1db2c8459424b /src/drivers | |
| parent | 397a3b83bf431e8bd00bbfb3c34ba4813fc55152 (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 'src/drivers')
| -rw-r--r-- | src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.H | 2 | ||||
| -rw-r--r-- | src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.H | 2 | ||||
| -rw-r--r-- | src/drivers/X11/Fl_X11_Screen_Driver.H | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.H b/src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.H index b64cf91b2..eea642760 100644 --- a/src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.H +++ b/src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.H @@ -91,6 +91,8 @@ public: virtual uchar *read_image(uchar *p, int x, int y, int w, int h, int alpha); virtual int input_widget_handle_key(int key, unsigned mods, unsigned shift, Fl_Input *input); virtual void get_mouse(int &x, int &y); + virtual void enable_im(); + virtual void disable_im(); }; diff --git a/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.H b/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.H index b24045433..80ced415b 100644 --- a/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.H +++ b/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.H @@ -73,6 +73,8 @@ public: virtual int compose(int &del); virtual uchar *read_win_rectangle(uchar *p, int X, int Y, int w, int h, int alpha); virtual void get_mouse(int &x, int &y); + virtual void enable_im(); + virtual void disable_im(); }; diff --git a/src/drivers/X11/Fl_X11_Screen_Driver.H b/src/drivers/X11/Fl_X11_Screen_Driver.H index 72f4358b2..a2b8b628d 100644 --- a/src/drivers/X11/Fl_X11_Screen_Driver.H +++ b/src/drivers/X11/Fl_X11_Screen_Driver.H @@ -79,6 +79,8 @@ public: virtual int text_display_can_leak(); virtual uchar *read_win_rectangle(uchar *p, int X, int Y, int w, int h, int alpha); virtual void get_mouse(int &x, int &y); + virtual void enable_im(); + virtual void disable_im(); }; |
