summaryrefslogtreecommitdiff
path: root/src/drivers/PicoAndroid/Fl_PicoAndroid_Screen_Driver.H
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2022-01-23 01:33:47 +0100
committerAlbrecht Schlosser <albrechts.fltk@online.de>2022-01-23 18:12:47 +0100
commit04ccc8cc46c45b81e6138bec0b48a188c4ffe406 (patch)
tree3ad8604f5d433dc6b6c294c28549a58dd57efcbd /src/drivers/PicoAndroid/Fl_PicoAndroid_Screen_Driver.H
parentb275ff07158e80d1744ddb2f6c51094a87cf079a (diff)
Remove experimental platforms Android, Pico, SDL (PR #376)
... as discussed in fltk.coredev: "FLTK 1.4.0 release schedule" https://groups.google.com/g/fltkcoredev/c/PDbHTRpXVh0/m/JqboexZ_AwAJ
Diffstat (limited to 'src/drivers/PicoAndroid/Fl_PicoAndroid_Screen_Driver.H')
-rw-r--r--src/drivers/PicoAndroid/Fl_PicoAndroid_Screen_Driver.H73
1 files changed, 0 insertions, 73 deletions
diff --git a/src/drivers/PicoAndroid/Fl_PicoAndroid_Screen_Driver.H b/src/drivers/PicoAndroid/Fl_PicoAndroid_Screen_Driver.H
deleted file mode 100644
index 1163296cf..000000000
--- a/src/drivers/PicoAndroid/Fl_PicoAndroid_Screen_Driver.H
+++ /dev/null
@@ -1,73 +0,0 @@
-//
-// 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:
-//
-// https://www.fltk.org/COPYING.php
-//
-// Please see the following page on how to report bugs and issues:
-//
-// https://www.fltk.org/bugs.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"
-
-#include <jni.h>
-#include <errno.h>
-
-#include <EGL/egl.h>
-#include <GLES/gl.h>
-
-#include <android/sensor.h>
-#include <android/log.h>
-#include <android_native_app_glue.h>
-
-
-class Fl_PicoAndroid_Window_Driver;
-
-
-class FL_EXPORT Fl_PicoAndroid_Screen_Driver : public Fl_Pico_Screen_Driver
-{
- friend class Fl_PicoAndroid_Window_Driver;
-
- struct android_app* pApp;
- EGLDisplay pDisplay;
- EGLSurface pSurface;
- EGLContext pContext;
- int32_t pWidth;
- int32_t pHeight;
-
- static void handleAppCmdCB(struct android_app* app, int32_t cmd);
- void handleAppCmd(struct android_app* app, int32_t cmd);
- static int32_t handleInputEventCB(struct android_app* app, AInputEvent* event);
- int32_t handleInputEvent(struct android_app* app, AInputEvent* event);
- void initDisplay();
- void termDisplay();
-
-public:
- void drawFrame();
-
-public:
- Fl_PicoAndroid_Screen_Driver();
- virtual ~Fl_PicoAndroid_Screen_Driver();
- virtual double wait(double time_to_wait);
-
-public:
- void android_main(struct android_app* state);
-};
-
-
-#endif // FL_PICOANDROID_SCREEN_DRIVER_H