summaryrefslogtreecommitdiff
path: root/FL/Fl_Screen_Driver.H
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-04-06 19:39:15 +0000
committerManolo Gouy <Manolo>2016-04-06 19:39:15 +0000
commita2eeca92f09617c10e6f2b6d15a33e19b73ff8bc (patch)
tree9710f0ef8105fd0e0044e367439eae71dbf3ed33 /FL/Fl_Screen_Driver.H
parent2a36225036f031ec7866f37ceaa34d7d63cb2ad1 (diff)
Rewrite Fl_Input.cxx under the driver model.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11544 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Screen_Driver.H')
-rw-r--r--FL/Fl_Screen_Driver.H4
1 files changed, 4 insertions, 0 deletions
diff --git a/FL/Fl_Screen_Driver.H b/FL/Fl_Screen_Driver.H
index d13dbaafe..22eda6095 100644
--- a/FL/Fl_Screen_Driver.H
+++ b/FL/Fl_Screen_Driver.H
@@ -39,6 +39,7 @@
class Fl_Window;
class Fl_RGB_Image;
class Fl_Group;
+class Fl_Input;
class FL_EXPORT Fl_Screen_Driver {
@@ -129,6 +130,9 @@ public:
static void write_image_inside(Fl_RGB_Image *to, Fl_RGB_Image *from, int to_x, int to_y);
static Fl_RGB_Image *traverse_to_gl_subwindows(Fl_Group *g, uchar *p, int x, int y, int w, int h, int alpha,
Fl_RGB_Image *full_img);
+ // optional platform-specific key handling for Fl_Input widget
+ // the default implementation may be enough
+ virtual int input_widget_handle_key(int key, unsigned mods, unsigned shift, Fl_Input *input);
};