summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_Screen_Driver.H5
1 files changed, 5 insertions, 0 deletions
diff --git a/FL/Fl_Screen_Driver.H b/FL/Fl_Screen_Driver.H
index d88910b56..d9bed02b3 100644
--- a/FL/Fl_Screen_Driver.H
+++ b/FL/Fl_Screen_Driver.H
@@ -122,6 +122,11 @@ public:
// default implementation may be enough
virtual int text_display_can_leak() { return 0; }
+ // if no keyboard is connected on a touch or pen device, the system on-screen keyboard is requested
+ virtual void request_keyboard() { }
+ // we no longer need the on-screen keyboard; it's up to the system to hide it
+ virtual void release_keyboard() { }
+
// read raw image from a window or an offscreen buffer
#if defined(FL_PORTING)
# pragma message "FL_PORTING: implement code to read RGB data from screen"