summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2018-03-22 15:27:02 +0000
committerMatthias Melcher <fltk@matthiasm.com>2018-03-22 15:27:02 +0000
commit0b8116ff72145816c3e1d4909038c126327e7bf2 (patch)
tree6559a0aca4e1047fe4906fa474ab463fc3229778 /FL
parent3a20682764807173ec6b0e354ede9b57930ff6a7 (diff)
Android: Implemented vector drawing and polygons.
Started to implement arc and pie drawing git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12783 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
-rw-r--r--FL/android.H17
1 files changed, 17 insertions, 0 deletions
diff --git a/FL/android.H b/FL/android.H
index 262ab82b7..573664984 100644
--- a/FL/android.H
+++ b/FL/android.H
@@ -25,6 +25,23 @@
# error "Never use <FL/android.H> directly; include <FL/platform.H> instead."
#endif // !FL_PLATFORM_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/*
+ * This is the function that application code must implement, representing
+ * the main entry to the app.
+ */
+extern int main(int argc, char **argv);
+
+#ifdef __cplusplus
+}
+#endif
+
+
+
typedef void *Window; // used by fl_find(), fl_xid() and class Fl_X
/* Reference to the current device context