summaryrefslogtreecommitdiff
path: root/ide/AndroidStudio3
diff options
context:
space:
mode:
authorMatthias Melcher <git@matthiasm.com>2019-01-15 01:22:18 +0100
committerMatthias Melcher <git@matthiasm.com>2019-01-15 01:22:18 +0100
commitb450cea7e249d521ba9ebf3d186db45656b9fcc4 (patch)
treea314e25e0a389ae7d1e60fecb602b16db1ac316f /ide/AndroidStudio3
parente25511131b08c839f32515da87333db78f24d630 (diff)
Android: starting to use CMake to build AndroidStudio files.
Diffstat (limited to 'ide/AndroidStudio3')
-rw-r--r--ide/AndroidStudio3/FL/abi-version.h31
-rw-r--r--ide/AndroidStudio3/README.md46
-rw-r--r--ide/AndroidStudio3/app/app.iml149
-rw-r--r--ide/AndroidStudio3/app/build.gradle26
-rw-r--r--ide/AndroidStudio3/app/src/main/AndroidManifest.xml22
-rw-r--r--ide/AndroidStudio3/app/src/main/assets/fonts/Roboto-Regular.ttfbin306672 -> 0 bytes
-rw-r--r--ide/AndroidStudio3/app/src/main/cpp/CMakeLists.txt47
-rw-r--r--ide/AndroidStudio3/app/src/main/cpp/HelloAndroid.cxx138
-rw-r--r--ide/AndroidStudio3/app/src/main/res/mipmap-hdpi/ic_launcher.pngbin3418 -> 0 bytes
-rw-r--r--ide/AndroidStudio3/app/src/main/res/mipmap-mdpi/ic_launcher.pngbin2206 -> 0 bytes
-rw-r--r--ide/AndroidStudio3/app/src/main/res/mipmap-xhdpi/ic_launcher.pngbin4842 -> 0 bytes
-rw-r--r--ide/AndroidStudio3/app/src/main/res/mipmap-xxhdpi/ic_launcher.pngbin7718 -> 0 bytes
-rw-r--r--ide/AndroidStudio3/app/src/main/res/values/strings.xml4
-rw-r--r--ide/AndroidStudio3/build.gradle17
-rw-r--r--ide/AndroidStudio3/gradle/wrapper/gradle-wrapper.jarbin49896 -> 0 bytes
-rw-r--r--ide/AndroidStudio3/gradle/wrapper/gradle-wrapper.properties6
-rwxr-xr-xide/AndroidStudio3/gradlew164
-rw-r--r--ide/AndroidStudio3/gradlew.bat90
-rw-r--r--ide/AndroidStudio3/settings.gradle4
19 files changed, 0 insertions, 744 deletions
diff --git a/ide/AndroidStudio3/FL/abi-version.h b/ide/AndroidStudio3/FL/abi-version.h
deleted file mode 100644
index 9a5e4b89f..000000000
--- a/ide/AndroidStudio3/FL/abi-version.h
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * "$Id: abi-version.h 12196 2017-03-13 23:31:38Z AlbrechtS $"
- *
- * Configuration file for the Fast Light Tool Kit (FLTK).
- *
- * Copyright 1998-2015 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
- */
-
-/*
- ============================================================================
- DO NOT EDIT - This file is generated by CMake !
- ============================================================================
-*/
-
-/* define FL_ABI_VERSION as 10x0y for FLTK ABI version 1.x.y */
-
-/* #undef FL_ABI_VERSION */
-
-/*
- * End of "$Id: abi-version.h 12196 2017-03-13 23:31:38Z AlbrechtS $".
- */
diff --git a/ide/AndroidStudio3/README.md b/ide/AndroidStudio3/README.md
deleted file mode 100644
index 60bdbcaf9..000000000
--- a/ide/AndroidStudio3/README.md
+++ /dev/null
@@ -1,46 +0,0 @@
-# Hello Android
-
-Hello Android is an FLTK sample app that derives from the Android Studio sample
-project Native Plasma. This sample uses Android Studio 3 and CMake.
-
-
-## Pre-requisites
-
-* Android Studio 3.0+ with [NDK](https://developer.android.com/ndk/) bundle.
-
-
-## Getting Started
-
-1. [Download Android Studio](http://developer.android.com/sdk/index.html)
-1. Launch Android Studio.
-1. Open the `IDE` directory inside the FLTK directory.
-1. Open the Android Studio project by loading the `AndroidStudio3` directory.
-1. Click *Run/Run 'app'*.
-
-
-## Support
-
-If you've found an error in these samples, please [file an issue](http://www.fltk.org/str.php). Patches are encouraged, and may be submitted via the same FLTK Bug & Feature system.
-
-Please visit the FLTK [Forum](http://www.fltk.org/newsgroups.php) for additional help.
-
-
-## License
-
-FLTK is provided under the terms of the [GNU Library Public License, Version 2 with exceptions](http://www.fltk.org/COPYING.php) that allow for static linking.
-
-
-## Android Shell
-
-List of short little helpers:
-
-```bash
-am start -n org.fltk.android_hello/android.app.NativeActivity
-am force-stop org.fltk.android_hello
-
-stop
-setprop libc.debug.malloc 10
-// setprop libc.debug.malloc.program org.fltk.android_hello
-setprop libc.debug.malloc.options "guard fill"
-start
-```
diff --git a/ide/AndroidStudio3/app/app.iml b/ide/AndroidStudio3/app/app.iml
deleted file mode 100644
index 12e033381..000000000
--- a/ide/AndroidStudio3/app/app.iml
+++ /dev/null
@@ -1,149 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<module external.linked.project.id=":app" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$/.." external.system.id="GRADLE" type="JAVA_MODULE" version="4">
- <component name="FacetManager">
- <facet type="android-gradle" name="Android-Gradle">
- <configuration>
- <option name="GRADLE_PROJECT_PATH" value=":app" />
- </configuration>
- </facet>
- <facet type="native-android-gradle" name="Native-Android-Gradle">
- <configuration>
- <option name="SELECTED_BUILD_VARIANT" value="debug" />
- </configuration>
- </facet>
- <facet type="android" name="Android">
- <configuration>
- <option name="SELECTED_BUILD_VARIANT" value="debug" />
- <option name="ASSEMBLE_TASK_NAME" value="assembleDebug" />
- <option name="COMPILE_JAVA_TASK_NAME" value="compileDebugSources" />
- <afterSyncTasks>
- <task>generateDebugSources</task>
- </afterSyncTasks>
- <option name="ALLOW_USER_CONFIGURATION" value="false" />
- <option name="MANIFEST_FILE_RELATIVE_PATH" value="/src/main/AndroidManifest.xml" />
- <option name="RES_FOLDER_RELATIVE_PATH" value="/src/main/res" />
- <option name="RES_FOLDERS_RELATIVE_PATH" value="file://$MODULE_DIR$/src/main/res" />
- <option name="ASSETS_FOLDER_RELATIVE_PATH" value="/src/main/assets" />
- </configuration>
- </facet>
- </component>
- <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_7">
- <output url="file://$MODULE_DIR$/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes" />
- <output-test url="file://$MODULE_DIR$/build/intermediates/javac/debugUnitTest/compileDebugUnitTestJavaWithJavac/classes" />
- <exclude-output />
- <content url="file://$MODULE_DIR$">
- <sourceFolder url="file://$MODULE_DIR$/src/main/cpp" isTestSource="false" />
- <sourceFolder url="file://$MODULE_DIR$/build/generated/source/apt/debug" isTestSource="false" generated="true" />
- <sourceFolder url="file://$MODULE_DIR$/build/generated/not_namespaced_r_class_sources/debug/processDebugResources/r" isTestSource="false" generated="true" />
- <sourceFolder url="file://$MODULE_DIR$/build/generated/source/aidl/debug" isTestSource="false" generated="true" />
- <sourceFolder url="file://$MODULE_DIR$/build/generated/source/buildConfig/debug" isTestSource="false" generated="true" />
- <sourceFolder url="file://$MODULE_DIR$/build/generated/source/rs/debug" isTestSource="false" generated="true" />
- <sourceFolder url="file://$MODULE_DIR$/build/generated/res/rs/debug" type="java-resource" />
- <sourceFolder url="file://$MODULE_DIR$/build/generated/res/resValues/debug" type="java-resource" />
- <sourceFolder url="file://$MODULE_DIR$/build/generated/source/apt/androidTest/debug" isTestSource="true" generated="true" />
- <sourceFolder url="file://$MODULE_DIR$/build/generated/not_namespaced_r_class_sources/debugAndroidTest/processDebugAndroidTestResources/r" isTestSource="true" generated="true" />
- <sourceFolder url="file://$MODULE_DIR$/build/generated/source/aidl/androidTest/debug" isTestSource="true" generated="true" />
- <sourceFolder url="file://$MODULE_DIR$/build/generated/source/buildConfig/androidTest/debug" isTestSource="true" generated="true" />
- <sourceFolder url="file://$MODULE_DIR$/build/generated/source/rs/androidTest/debug" isTestSource="true" generated="true" />
- <sourceFolder url="file://$MODULE_DIR$/build/generated/res/rs/androidTest/debug" type="java-test-resource" />
- <sourceFolder url="file://$MODULE_DIR$/build/generated/res/resValues/androidTest/debug" type="java-test-resource" />
- <sourceFolder url="file://$MODULE_DIR$/build/generated/source/apt/test/debug" isTestSource="true" generated="true" />
- <sourceFolder url="file://$MODULE_DIR$/src/debug/res" type="java-resource" />
- <sourceFolder url="file://$MODULE_DIR$/src/debug/resources" type="java-resource" />
- <sourceFolder url="file://$MODULE_DIR$/src/debug/assets" type="java-resource" />
- <sourceFolder url="file://$MODULE_DIR$/src/debug/aidl" isTestSource="false" />
- <sourceFolder url="file://$MODULE_DIR$/src/debug/java" isTestSource="false" />
- <sourceFolder url="file://$MODULE_DIR$/src/debug/jni" isTestSource="false" />
- <sourceFolder url="file://$MODULE_DIR$/src/debug/rs" isTestSource="false" />
- <sourceFolder url="file://$MODULE_DIR$/src/debug/shaders" isTestSource="false" />
- <sourceFolder url="file://$MODULE_DIR$/src/androidTestDebug/res" type="java-test-resource" />
- <sourceFolder url="file://$MODULE_DIR$/src/androidTestDebug/resources" type="java-test-resource" />
- <sourceFolder url="file://$MODULE_DIR$/src/androidTestDebug/assets" type="java-test-resource" />
- <sourceFolder url="file://$MODULE_DIR$/src/androidTestDebug/aidl" isTestSource="true" />
- <sourceFolder url="file://$MODULE_DIR$/src/androidTestDebug/java" isTestSource="true" />
- <sourceFolder url="file://$MODULE_DIR$/src/androidTestDebug/jni" isTestSource="true" />
- <sourceFolder url="file://$MODULE_DIR$/src/androidTestDebug/rs" isTestSource="true" />
- <sourceFolder url="file://$MODULE_DIR$/src/androidTestDebug/shaders" isTestSource="true" />
- <sourceFolder url="file://$MODULE_DIR$/src/testDebug/res" type="java-test-resource" />
- <sourceFolder url="file://$MODULE_DIR$/src/testDebug/resources" type="java-test-resource" />
- <sourceFolder url="file://$MODULE_DIR$/src/testDebug/assets" type="java-test-resource" />
- <sourceFolder url="file://$MODULE_DIR$/src/testDebug/aidl" isTestSource="true" />
- <sourceFolder url="file://$MODULE_DIR$/src/testDebug/java" isTestSource="true" />
- <sourceFolder url="file://$MODULE_DIR$/src/testDebug/jni" isTestSource="true" />
- <sourceFolder url="file://$MODULE_DIR$/src/testDebug/rs" isTestSource="true" />
- <sourceFolder url="file://$MODULE_DIR$/src/testDebug/shaders" isTestSource="true" />
- <sourceFolder url="file://$MODULE_DIR$/src/main/res" type="java-resource" />
- <sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
- <sourceFolder url="file://$MODULE_DIR$/src/main/assets" type="java-resource" />
- <sourceFolder url="file://$MODULE_DIR$/src/main/aidl" isTestSource="false" />
- <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
- <sourceFolder url="file://$MODULE_DIR$/src/main/jni" isTestSource="false" />
- <sourceFolder url="file://$MODULE_DIR$/src/main/rs" isTestSource="false" />
- <sourceFolder url="file://$MODULE_DIR$/src/main/shaders" isTestSource="false" />
- <sourceFolder url="file://$MODULE_DIR$/src/androidTest/res" type="java-test-resource" />
- <sourceFolder url="file://$MODULE_DIR$/src/androidTest/resources" type="java-test-resource" />
- <sourceFolder url="file://$MODULE_DIR$/src/androidTest/assets" type="java-test-resource" />
- <sourceFolder url="file://$MODULE_DIR$/src/androidTest/aidl" isTestSource="true" />
- <sourceFolder url="file://$MODULE_DIR$/src/androidTest/java" isTestSource="true" />
- <sourceFolder url="file://$MODULE_DIR$/src/androidTest/jni" isTestSource="true" />
- <sourceFolder url="file://$MODULE_DIR$/src/androidTest/rs" isTestSource="true" />
- <sourceFolder url="file://$MODULE_DIR$/src/androidTest/shaders" isTestSource="true" />
- <sourceFolder url="file://$MODULE_DIR$/src/test/res" type="java-test-resource" />
- <sourceFolder url="file://$MODULE_DIR$/src/test/resources" type="java-test-resource" />
- <sourceFolder url="file://$MODULE_DIR$/src/test/assets" type="java-test-resource" />
- <sourceFolder url="file://$MODULE_DIR$/src/test/aidl" isTestSource="true" />
- <sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
- <sourceFolder url="file://$MODULE_DIR$/src/test/jni" isTestSource="true" />
- <sourceFolder url="file://$MODULE_DIR$/src/test/rs" isTestSource="true" />
- <sourceFolder url="file://$MODULE_DIR$/src/test/shaders" isTestSource="true" />
- <excludeFolder url="file://$MODULE_DIR$/.externalNativeBuild" />
- <excludeFolder url="file://$MODULE_DIR$/build/intermediates/apk_list" />
- <excludeFolder url="file://$MODULE_DIR$/build/intermediates/assets" />
- <excludeFolder url="file://$MODULE_DIR$/build/intermediates/blame" />
- <excludeFolder url="file://$MODULE_DIR$/build/intermediates/check-manifest" />
- <excludeFolder url="file://$MODULE_DIR$/build/intermediates/checkDebugClasspath" />
- <excludeFolder url="file://$MODULE_DIR$/build/intermediates/classes" />
- <excludeFolder url="file://$MODULE_DIR$/build/intermediates/cmake" />
- <excludeFolder url="file://$MODULE_DIR$/build/intermediates/compatible_screen_manifest" />
- <excludeFolder url="file://$MODULE_DIR$/build/intermediates/incremental" />
- <excludeFolder url="file://$MODULE_DIR$/build/intermediates/instant_run_merged_manifests" />
- <excludeFolder url="file://$MODULE_DIR$/build/intermediates/javaPrecompile" />
- <excludeFolder url="file://$MODULE_DIR$/build/intermediates/jniLibs" />
- <excludeFolder url="file://$MODULE_DIR$/build/intermediates/lint" />
- <excludeFolder url="file://$MODULE_DIR$/build/intermediates/lint_jar" />
- <excludeFolder url="file://$MODULE_DIR$/build/intermediates/manifests" />
- <excludeFolder url="file://$MODULE_DIR$/build/intermediates/merged_manifests" />
- <excludeFolder url="file://$MODULE_DIR$/build/intermediates/prebuild" />
- <excludeFolder url="file://$MODULE_DIR$/build/intermediates/processed_res" />
- <excludeFolder url="file://$MODULE_DIR$/build/intermediates/res" />
- <excludeFolder url="file://$MODULE_DIR$/build/intermediates/rs" />
- <excludeFolder url="file://$MODULE_DIR$/build/intermediates/shaders" />
- <excludeFolder url="file://$MODULE_DIR$/build/intermediates/split_list" />
- <excludeFolder url="file://$MODULE_DIR$/build/intermediates/splits-support" />
- <excludeFolder url="file://$MODULE_DIR$/build/intermediates/symbols" />
- <excludeFolder url="file://$MODULE_DIR$/build/intermediates/transforms" />
- <excludeFolder url="file://$MODULE_DIR$/build/outputs" />
- <excludeFolder url="file://$MODULE_DIR$/build/tmp" />
- </content>
- <content url="file://$MODULE_DIR$/../../../jpeg">
- <sourceFolder url="file://$MODULE_DIR$/../../../jpeg" isTestSource="false" />
- </content>
- <content url="file://$MODULE_DIR$/../../../png">
- <sourceFolder url="file://$MODULE_DIR$/../../../png" isTestSource="false" />
- </content>
- <content url="file://$MODULE_DIR$/../../../src">
- <sourceFolder url="file://$MODULE_DIR$/../../../src" isTestSource="false" />
- </content>
- <content url="file://$MODULE_DIR$/../../../src/drivers/Android">
- <sourceFolder url="file://$MODULE_DIR$/../../../src/drivers/Android" isTestSource="false" />
- </content>
- <content url="file://$MODULE_DIR$/../../../src/drivers/PostScript">
- <sourceFolder url="file://$MODULE_DIR$/../../../src/drivers/PostScript" isTestSource="false" />
- </content>
- <content url="file://$MODULE_DIR$/../../../src/xutf8">
- <sourceFolder url="file://$MODULE_DIR$/../../../src/xutf8" isTestSource="false" />
- </content>
- <orderEntry type="jdk" jdkName="Android API 25 Platform" jdkType="Android SDK" />
- <orderEntry type="sourceFolder" forTests="false" />
- </component>
-</module> \ No newline at end of file
diff --git a/ide/AndroidStudio3/app/build.gradle b/ide/AndroidStudio3/app/build.gradle
deleted file mode 100644
index dd66c8d93..000000000
--- a/ide/AndroidStudio3/app/build.gradle
+++ /dev/null
@@ -1,26 +0,0 @@
-apply plugin: 'com.android.application'
-
- android {
- compileSdkVersion 25
-
- defaultConfig {
- applicationId 'org.fltk.android_hello'
- minSdkVersion 14
- targetSdkVersion 25
- externalNativeBuild {
- cmake {
- arguments '-DANDROID_STL=c++_shared'
- }
- }
- }
- buildTypes {
- release {
- minifyEnabled false
- }
- }
- externalNativeBuild {
- cmake {
- path 'src/main/cpp/CMakeLists.txt'
- }
- }
- }
diff --git a/ide/AndroidStudio3/app/src/main/AndroidManifest.xml b/ide/AndroidStudio3/app/src/main/AndroidManifest.xml
deleted file mode 100644
index e0131f422..000000000
--- a/ide/AndroidStudio3/app/src/main/AndroidManifest.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<manifest xmlns:android="http://schemas.android.com/apk/res/android"
- package="org.fltk.android_hello"
- android:versionCode="1"
- android:versionName="1.0">
- <application
- android:allowBackup="false"
- android:fullBackupContent="false"
- android:icon="@mipmap/ic_launcher"
- android:label="@string/app_name"
- android:hasCode="false">
- <activity android:name="android.app.NativeActivity"
- android:label="@string/app_name">
- <meta-data android:name="android.app.lib_name"
- android:value="android-hello" />
- <intent-filter>
- <action android:name="android.intent.action.MAIN" />
- <category android:name="android.intent.category.LAUNCHER" />
- </intent-filter>
- </activity>
- </application>
-</manifest>
diff --git a/ide/AndroidStudio3/app/src/main/assets/fonts/Roboto-Regular.ttf b/ide/AndroidStudio3/app/src/main/assets/fonts/Roboto-Regular.ttf
deleted file mode 100644
index 88dae907b..000000000
--- a/ide/AndroidStudio3/app/src/main/assets/fonts/Roboto-Regular.ttf
+++ /dev/null
Binary files differ
diff --git a/ide/AndroidStudio3/app/src/main/cpp/CMakeLists.txt b/ide/AndroidStudio3/app/src/main/cpp/CMakeLists.txt
deleted file mode 100644
index c9f4fab48..000000000
--- a/ide/AndroidStudio3/app/src/main/cpp/CMakeLists.txt
+++ /dev/null
@@ -1,47 +0,0 @@
-#
-# Copyright (C) The Android Open Source Project
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-cmake_minimum_required(VERSION 3.4.1)
-
-set(FLTK_DIR ../../../../../..)
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
-
-
-# FIXME: add as a second argument the binary build dir
-# so that the first argument can link directly to FLTK
-# instead of the fltk symlink, which is bad for SVN
-add_subdirectory(${FLTK_DIR}/ "${CMAKE_CURRENT_BINARY_DIR}/fltk" EXCLUDE_FROM_ALL)
-
-# now build app's shared lib
-add_library(android-hello SHARED
- HelloAndroid.cxx)
-
-target_include_directories(android-hello PRIVATE
- ${FLTK_DIR}/
- ${FLTK_DIR}/ide/AndroidStudio3/)
-
-# Export ANativeActivity_onCreate(),

-# Refer to: https://github.com/android-ndk/ndk/issues/381.
-set(CMAKE_SHARED_LINKER_FLAGS
- "${CMAKE_SHARED_LINKER_FLAGS} -u ANativeActivity_onCreate")
-
-# add lib dependencies
-target_link_libraries(android-hello
- fltk
- android
- log
- m)
-
diff --git a/ide/AndroidStudio3/app/src/main/cpp/HelloAndroid.cxx b/ide/AndroidStudio3/app/src/main/cpp/HelloAndroid.cxx
deleted file mode 100644
index 1d0524bac..000000000
--- a/ide/AndroidStudio3/app/src/main/cpp/HelloAndroid.cxx
+++ /dev/null
@@ -1,138 +0,0 @@
-/*
- * Copyright (C) 2010 The Android Open Source Project
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-
-#include "../../test/button.cxx"
-
-
-/*
-
- Missing:
- - screen scale and size: most desktop apps expect to be in a draggable window
- on a larger desktop surface. For Android, there is usually no desktop, and
- screen resolution is often very high, so that a regular FLTK window would
- hide as a tiny gray spot in the top left corner
- * windows should probably be centered by default
- ? the screen resolution should adapt to the first opened window
- ? we should be able to hint at a prefered screen resolution
- * drawing call must scale at some point (line width!)
- * rotating the screen must call the app handler and(?) window resize
- * proportions: pixels should be square
- Need Work:
- - Fl_Android_Graphics_Driver::pie(int) needs refactoring
- - ...::line(...) has round ing issues (see rounded box type)
- - grab() not working when leaving window (adjuster...)
- - scrolling if implemented as a complete redraw. Must implement real scrolling
- - the 'hotspot' idea to position dialogs under the mouse cursor makes little sense on touch screen devices
- - fix screen when keyboard pops up in front of the text cursor or input field (temporarily shift up?)
- - ending 'message' will not quit the app right away, but wait for some timeout
- - no support for dead-key entry
- - no Shift-Tab
-
- * test/CubeMain.cxx : UNSUPPROTED - needs OpenGL
- * test/CubeView.cxx : UNSUPPROTED - needs OpenGL
- * test/shape.cxx : UNSUPPROTED - needs OpenGL
- * test/cube.cxx : UNSUPPROTED - needs OpenGL
- * test/fractals.cxx : UNSUPPROTED - needs OpenGL
- * test/fracviewer.cxx : UNSUPPROTED - needs OpenGL
- * test/fullscreen.cxx : UNSUPPROTED - needs OpenGL
- * test/gl_overlay.cxx : UNSUPPROTED - needs OpenGL
- * test/glpuzzle.cxx : UNSUPPROTED - needs OpenGL
- * test/mandelbrot.cxx : UNSUPPORTED - needs Fluid
- * test/keyboard.cxx : UNSUPPORTED - needs Fluid
- * test/CubeViewUI.fl
- * test/keyboard_ui.fl
- * test/radio.fl
- * test/tree.fl
- * test/fast_slow.fl
- * test/mandelbrot_ui.fl
- * test/resize.fl
- * test/valuators.fl
- * test/inactive.fl
- * test/preferences.fl
- * test/tabs.fl
- * test/cairo_test.cxx : UNSUPPORTED - needs Cairo
- * test/connect.cxx : UNSUPPORTED - Android is not Linux
- * test/tiled_image.cxx : UNSUPPORTED - X11 only
- * test/forms.cxx : UNSUPPORTED - needs Forms
-
- * test/doublebuffer.cxx : FIXME - redering is completely wrong
- * test/line_style.cxx : TODO - no line styles yet
- * test/list_visuals.cxx : TODO - needs config.h
- * test/threads.cxx : TODO - needs config.h for pthreads
- * test/animated.cxx : TODO - redering errors (alpha channel?)
- * test/native-filechooser.cxx : TODO - not yet implemented
- * test/blocks.cxx : TODO - needs config.h
- * test/offscreen.cxx : TODO - not yet implemented
- * test/overlay.cxx : TODO - no overlay yet
- * test/pixmap_browser.cxx : TODO - filebrowser not yet implemented, no images, no printer
- * test/clock.cxx : TODO - no system clock call yet
- * test/resizebox.cxx : TODO - no window manager yet
- * test/rotated_text.cxx : TODO - no rotated text
- * test/subwindow.cxx : TODO - no subwindows yet
- * test/sudoku.cxx : TODO - sound support is in our way
- * test/demo.cxx : TODO - fails to open window, but is is useful at all?
- * test/device.cxx : TODO - printing support
- * test/tile.cxx : TODO - subwindow support
- * test/editor.cxx : TODO - file chooser missing
- * test/file_chooser.cxx : TODO - file chooser missing
- * test/fonts.cxx : TODO - works, but does not list system fonts or resource fonts
- * test/help_dialog.cxx : TODO - not implemented
- * test/icon.cxx : TODO - what does this do on Android?
- * test/iconize.cxx : TODO - no window manager
- * test/utf8.cxx : TODO - window manager, clipping
- * test/windowfocus.cxx : TODO - what does this do?
- * test/browser.cxx : TODO - needs text resource to load browser content
- * test/unittests.cxx : TODO - crashing, no alpha in image drawing, clipping issues
-
- * test/image.cxx : + works
- * test/twowin.cxx : + works
- * test/table.cxx : + works, but window is much too large for mobile device
- * test/cursor.cxx : + works, but no cursor on Android
- * test/colbrowser.cxx : + works
- * test/checkers.cxx : + works
- * test/pixmap.cxx : + works
- * test/navigation.cxx : + works
- * test/curve.cxx : + works
- * test/input_choice.cxx : + works
- * test/input.cxx : + works
- * test/scroll.cxx : - works ok
- - some dirt when a popup draws over another menu button!?
- - on touch-screens, menuitem should be selected when released
- - on touch-screens, scroll groups should scroll on multitouch, or when not causing any other action
- * test/bitmap.cxx : + 'bitmap' works
- * test/message.cxx : - 'message' mostly works
- - when ending the app, it will not close right away but instead hang around for a few seconds
- * test/menubar.cxx : - 'menubar' mostly works including unicode
- ! pressing 'button' will hang the app
- - shortcut modifiers don't work
- - right-click does not work (should this be emulated via click-and-hold?)
- * test/output.cxx : + 'output' works
- * test/ask.cxx : + 'ask' works
- * test/button.cxx : + 'button' works, including beep
- * test/pack.cxx : + 'pack' works
- * test/adjuster.cxx : + 'adjuster' works
- * test/arc.cxx : + 'arc' works as expected
- * test/minimum.cxx : + 'minimum' works
- * test/boxtype.cxx : + 'boxtype' works
- * test/buttons.cxx : + 'buttons' works
- * test/color_chooser.cxx: + 'color_chooser' works
- * test/symbols.cxx : + 'symbols' working as expected
- * test/hello.cxx : + 'hello' works fine, italics, shadow, etc.
- * test/label.cxx : + 'label' works
-
- */
diff --git a/ide/AndroidStudio3/app/src/main/res/mipmap-hdpi/ic_launcher.png b/ide/AndroidStudio3/app/src/main/res/mipmap-hdpi/ic_launcher.png
deleted file mode 100644
index cde69bccc..000000000
--- a/ide/AndroidStudio3/app/src/main/res/mipmap-hdpi/ic_launcher.png
+++ /dev/null
Binary files differ
diff --git a/ide/AndroidStudio3/app/src/main/res/mipmap-mdpi/ic_launcher.png b/ide/AndroidStudio3/app/src/main/res/mipmap-mdpi/ic_launcher.png
deleted file mode 100644
index c133a0cbd..000000000
--- a/ide/AndroidStudio3/app/src/main/res/mipmap-mdpi/ic_launcher.png
+++ /dev/null
Binary files differ
diff --git a/ide/AndroidStudio3/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/ide/AndroidStudio3/app/src/main/res/mipmap-xhdpi/ic_launcher.png
deleted file mode 100644
index bfa42f0e7..000000000
--- a/ide/AndroidStudio3/app/src/main/res/mipmap-xhdpi/ic_launcher.png
+++ /dev/null
Binary files differ
diff --git a/ide/AndroidStudio3/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/ide/AndroidStudio3/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
deleted file mode 100644
index 324e72cdd..000000000
--- a/ide/AndroidStudio3/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
+++ /dev/null
Binary files differ
diff --git a/ide/AndroidStudio3/app/src/main/res/values/strings.xml b/ide/AndroidStudio3/app/src/main/res/values/strings.xml
deleted file mode 100644
index e2f60e96f..000000000
--- a/ide/AndroidStudio3/app/src/main/res/values/strings.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<resources>
- <string name="app_name">Hello Android</string>
-</resources>
diff --git a/ide/AndroidStudio3/build.gradle b/ide/AndroidStudio3/build.gradle
deleted file mode 100644
index f48a2c6ec..000000000
--- a/ide/AndroidStudio3/build.gradle
+++ /dev/null
@@ -1,17 +0,0 @@
-// Top-level build file where you can add configuration options common to all sub-projects/modules.
-buildscript {
- repositories {
- jcenter()
- google()
- }
- dependencies {
- classpath 'com.android.tools.build:gradle:3.2.1'
- }
-}
-
-allprojects {
- repositories {
- jcenter()
- google()
- }
-}
diff --git a/ide/AndroidStudio3/gradle/wrapper/gradle-wrapper.jar b/ide/AndroidStudio3/gradle/wrapper/gradle-wrapper.jar
deleted file mode 100644
index 8c0fb64a8..000000000
--- a/ide/AndroidStudio3/gradle/wrapper/gradle-wrapper.jar
+++ /dev/null
Binary files differ
diff --git a/ide/AndroidStudio3/gradle/wrapper/gradle-wrapper.properties b/ide/AndroidStudio3/gradle/wrapper/gradle-wrapper.properties
deleted file mode 100644
index e023ccaff..000000000
--- a/ide/AndroidStudio3/gradle/wrapper/gradle-wrapper.properties
+++ /dev/null
@@ -1,6 +0,0 @@
-#Fri Jan 04 18:34:29 CET 2019
-distributionBase=GRADLE_USER_HOME
-distributionPath=wrapper/dists
-zipStoreBase=GRADLE_USER_HOME
-zipStorePath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip
diff --git a/ide/AndroidStudio3/gradlew b/ide/AndroidStudio3/gradlew
deleted file mode 100755
index 91a7e269e..000000000
--- a/ide/AndroidStudio3/gradlew
+++ /dev/null
@@ -1,164 +0,0 @@
-#!/usr/bin/env bash
-
-##############################################################################
-##
-## Gradle start up script for UN*X
-##
-##############################################################################
-
-# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
-DEFAULT_JVM_OPTS=""
-
-APP_NAME="Gradle"
-APP_BASE_NAME=`basename "$0"`
-
-# Use the maximum available, or set MAX_FD != -1 to use that value.
-MAX_FD="maximum"
-
-warn ( ) {
- echo "$*"
-}
-
-die ( ) {
- echo
- echo "$*"
- echo
- exit 1
-}
-
-# OS specific support (must be 'true' or 'false').
-cygwin=false
-msys=false
-darwin=false
-case "`uname`" in
- CYGWIN* )
- cygwin=true
- ;;
- Darwin* )
- darwin=true
- ;;
- MINGW* )
- msys=true
- ;;
-esac
-
-# For Cygwin, ensure paths are in UNIX format before anything is touched.
-if $cygwin ; then
- [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
-fi
-
-# Attempt to set APP_HOME
-# Resolve links: $0 may be a link
-PRG="$0"
-# Need this for relative symlinks.
-while [ -h "$PRG" ] ; do
- ls=`ls -ld "$PRG"`
- link=`expr "$ls" : '.*-> \(.*\)$'`
- if expr "$link" : '/.*' > /dev/null; then
- PRG="$link"
- else
- PRG=`dirname "$PRG"`"/$link"
- fi
-done
-SAVED="`pwd`"
-cd "`dirname \"$PRG\"`/" >&-
-APP_HOME="`pwd -P`"
-cd "$SAVED" >&-
-
-CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
-
-# Determine the Java command to use to start the JVM.
-if [ -n "$JAVA_HOME" ] ; then
- if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
- # IBM's JDK on AIX uses strange locations for the executables
- JAVACMD="$JAVA_HOME/jre/sh/java"
- else
- JAVACMD="$JAVA_HOME/bin/java"
- fi
- if [ ! -x "$JAVACMD" ] ; then
- die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
-
-Please set the JAVA_HOME variable in your environment to match the
-location of your Java installation."
- fi
-else
- JAVACMD="java"
- which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
-
-Please set the JAVA_HOME variable in your environment to match the
-location of your Java installation."
-fi
-
-# Increase the maximum file descriptors if we can.
-if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
- MAX_FD_LIMIT=`ulimit -H -n`
- if [ $? -eq 0 ] ; then
- if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
- MAX_FD="$MAX_FD_LIMIT"
- fi
- ulimit -n $MAX_FD
- if [ $? -ne 0 ] ; then
- warn "Could not set maximum file descriptor limit: $MAX_FD"
- fi
- else
- warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
- fi
-fi
-
-# For Darwin, add options to specify how the application appears in the dock
-if $darwin; then
- GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
-fi
-
-# For Cygwin, switch paths to Windows format before running java
-if $cygwin ; then
- APP_HOME=`cygpath --path --mixed "$APP_HOME"`
- CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
-
- # We build the pattern for arguments to be converted via cygpath
- ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
- SEP=""
- for dir in $ROOTDIRSRAW ; do
- ROOTDIRS="$ROOTDIRS$SEP$dir"
- SEP="|"
- done
- OURCYGPATTERN="(^($ROOTDIRS))"
- # Add a user-defined pattern to the cygpath arguments
- if [ "$GRADLE_CYGPATTERN" != "" ] ; then
- OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
- fi
- # Now convert the arguments - kludge to limit ourselves to /bin/sh
- i=0
- for arg in "$@" ; do
- CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
- CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
-
- if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
- eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
- else
- eval `echo args$i`="\"$arg\""
- fi
- i=$((i+1))
- done
- case $i in
- (0) set -- ;;
- (1) set -- "$args0" ;;
- (2) set -- "$args0" "$args1" ;;
- (3) set -- "$args0" "$args1" "$args2" ;;
- (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
- (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
- (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
- (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
- (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
- (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
- esac
-fi
-
-# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
-function splitJvmOpts() {
- JVM_OPTS=("$@")
-}
-eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
-JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
-
-exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/ide/AndroidStudio3/gradlew.bat b/ide/AndroidStudio3/gradlew.bat
deleted file mode 100644
index 8a0b282aa..000000000
--- a/ide/AndroidStudio3/gradlew.bat
+++ /dev/null
@@ -1,90 +0,0 @@
-@if "%DEBUG%" == "" @echo off
-@rem ##########################################################################
-@rem
-@rem Gradle startup script for Windows
-@rem
-@rem ##########################################################################
-
-@rem Set local scope for the variables with windows NT shell
-if "%OS%"=="Windows_NT" setlocal
-
-@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
-set DEFAULT_JVM_OPTS=
-
-set DIRNAME=%~dp0
-if "%DIRNAME%" == "" set DIRNAME=.
-set APP_BASE_NAME=%~n0
-set APP_HOME=%DIRNAME%
-
-@rem Find java.exe
-if defined JAVA_HOME goto findJavaFromJavaHome
-
-set JAVA_EXE=java.exe
-%JAVA_EXE% -version >NUL 2>&1
-if "%ERRORLEVEL%" == "0" goto init
-
-echo.
-echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
-echo.
-echo Please set the JAVA_HOME variable in your environment to match the
-echo location of your Java installation.
-
-goto fail
-
-:findJavaFromJavaHome
-set JAVA_HOME=%JAVA_HOME:"=%
-set JAVA_EXE=%JAVA_HOME%/bin/java.exe
-
-if exist "%JAVA_EXE%" goto init
-
-echo.
-echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
-echo.
-echo Please set the JAVA_HOME variable in your environment to match the
-echo location of your Java installation.
-
-goto fail
-
-:init
-@rem Get command-line arguments, handling Windowz variants
-
-if not "%OS%" == "Windows_NT" goto win9xME_args
-if "%@eval[2+2]" == "4" goto 4NT_args
-
-:win9xME_args
-@rem Slurp the command line arguments.
-set CMD_LINE_ARGS=
-set _SKIP=2
-
-:win9xME_args_slurp
-if "x%~1" == "x" goto execute
-
-set CMD_LINE_ARGS=%*
-goto execute
-
-:4NT_args
-@rem Get arguments from the 4NT Shell from JP Software
-set CMD_LINE_ARGS=%$
-
-:execute
-@rem Setup the command line
-
-set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
-
-@rem Execute Gradle
-"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
-
-:end
-@rem End local scope for the variables with windows NT shell
-if "%ERRORLEVEL%"=="0" goto mainEnd
-
-:fail
-rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
-rem the _cmd.exe /c_ return code!
-if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
-exit /b 1
-
-:mainEnd
-if "%OS%"=="Windows_NT" endlocal
-
-:omega
diff --git a/ide/AndroidStudio3/settings.gradle b/ide/AndroidStudio3/settings.gradle
deleted file mode 100644
index c428c84b6..000000000
--- a/ide/AndroidStudio3/settings.gradle
+++ /dev/null
@@ -1,4 +0,0 @@
-include ':app'
-
-include ':FLTK'
-project(':FLTK').projectDir = new File('../../')