summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2018-03-24 17:08:25 +0000
committerMatthias Melcher <fltk@matthiasm.com>2018-03-24 17:08:25 +0000
commitfada3a829188294df580d5e59765114aa4a155b2 (patch)
tree593e05378991c80c8009e3919d1fa36755866469 /FL
parent79b31708de7b1544d0e7b32d616ecb9b79d1b9bd (diff)
Android: Rough, verz rough kezboard handling.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12794 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
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"