summaryrefslogtreecommitdiff
path: root/src/drivers/Android/Fl_Android_Screen_Driver.H
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2018-03-07 22:12:34 +0000
committerMatthias Melcher <fltk@matthiasm.com>2018-03-07 22:12:34 +0000
commit2e5b983f4b3da87bf28319fe7ab99bb6206f0411 (patch)
tree34475588f4943d9ed379b711887d873d087c79b0 /src/drivers/Android/Fl_Android_Screen_Driver.H
parentf058d3a99c396f21d6e17f201682462da1d305cc (diff)
Android: moved all Android code from the main app into the driver system. All non-driver-FLTK code and main app are now Android-free.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12719 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/drivers/Android/Fl_Android_Screen_Driver.H')
-rw-r--r--src/drivers/Android/Fl_Android_Screen_Driver.H5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/drivers/Android/Fl_Android_Screen_Driver.H b/src/drivers/Android/Fl_Android_Screen_Driver.H
index 7948c906f..32ae04899 100644
--- a/src/drivers/Android/Fl_Android_Screen_Driver.H
+++ b/src/drivers/Android/Fl_Android_Screen_Driver.H
@@ -26,6 +26,7 @@
#define FL_ANDROID_SCREEN_DRIVER_H
#include <FL/Fl_Screen_Driver.H>
+#include <android/input.h>
//#include <windows.h>
extern void (*fl_unlock_function)();
@@ -39,6 +40,10 @@ class FL_EXPORT Fl_Android_Screen_Driver : public Fl_Screen_Driver
{
private:
int handle_queued_events(double time_to_wait);
+ int handle_app_command();
+ int handle_input_event();
+ int handle_keyboard_event(AInputEvent*);
+ int handle_mouse_event(AInputEvent*);
#if 0