summaryrefslogtreecommitdiff
path: root/src/drivers/PicoAndroid/Fl_PicoAndroid_Screen_Driver.H
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2016-03-11 00:19:27 +0000
committerMatthias Melcher <fltk@matthiasm.com>2016-03-11 00:19:27 +0000
commitac1932eaa7630d8dbe07846f027986f77afa6b5a (patch)
tree51b9fbc9ca622eb18ef65570337e67a702dd27c9 /src/drivers/PicoAndroid/Fl_PicoAndroid_Screen_Driver.H
parent31fcd84ca990ded6b96f0e3a82adc3f38d0cdb2c (diff)
(incomplete) Add files required to compile for Android via Pico driver.
Don't get your hopes up just yet: this code does compile, but it doesn't fully link yet. If you like to test this, install the Android SDK and NDK, set the usual environment variables, then change into the "Android" direktory and run "mk". It will currently fail at the linker stage. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11343 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/drivers/PicoAndroid/Fl_PicoAndroid_Screen_Driver.H')
-rw-r--r--src/drivers/PicoAndroid/Fl_PicoAndroid_Screen_Driver.H44
1 files changed, 44 insertions, 0 deletions
diff --git a/src/drivers/PicoAndroid/Fl_PicoAndroid_Screen_Driver.H b/src/drivers/PicoAndroid/Fl_PicoAndroid_Screen_Driver.H
new file mode 100644
index 000000000..f0e0efdd0
--- /dev/null
+++ b/src/drivers/PicoAndroid/Fl_PicoAndroid_Screen_Driver.H
@@ -0,0 +1,44 @@
+//
+// "$Id: Fl_PicoAndroid_Screen_Driver.H 11017 2016-01-20 21:40:12Z matt $"
+//
+// Definition of Android Screen interface based on Pico
+// for the Fast Light Tool Kit (FLTK).
+//
+// Copyright 2010-2016 by Bill Spitzak and others.
+//
+// This library is free software. Distribution and use rights are outlined in
+// the file "COPYING" which should have been included with this file. If this
+// file is missing or damaged, see the license at:
+//
+// http://www.fltk.org/COPYING.php
+//
+// Please report all bugs and problems on the following page:
+//
+// http://www.fltk.org/str.php
+//
+
+/**
+ \file Fl_PicoAndroid_Screen_Driver.H
+ \brief Definition of SDL Screen interface based on Pico.
+ */
+
+#ifndef FL_PICOANDROID_SCREEN_DRIVER_H
+#define FL_PICOANDROID_SCREEN_DRIVER_H
+
+#include "../Pico/Fl_Pico_Screen_Driver.H"
+
+
+class FL_EXPORT Fl_PicoAndroid_Screen_Driver : public Fl_Pico_Screen_Driver
+{
+public:
+ Fl_PicoAndroid_Screen_Driver();
+ virtual ~Fl_PicoAndroid_Screen_Driver();
+ virtual double wait(double time_to_wait);
+};
+
+
+#endif // FL_PICOANDROID_SCREEN_DRIVER_H
+
+//
+// End of "$Id: Fl_PicoAndroid_Screen_Driver.H 11017 2016-01-20 21:40:12Z matt $".
+//