summaryrefslogtreecommitdiff
path: root/src/drivers/Android/Fl_Font.H
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2018-03-02 16:34:43 +0000
committerMatthias Melcher <fltk@matthiasm.com>2018-03-02 16:34:43 +0000
commitb19efed40934e42c448116262e8d1a9ca2a14dde (patch)
tree3d88279d66662f72d62c853fc65bccb61fcbe333 /src/drivers/Android/Fl_Font.H
parent9e29ea8a00538ea6d605945bc368295830c0d487 (diff)
Adding crude Android native screen driver
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12695 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/drivers/Android/Fl_Font.H')
-rw-r--r--src/drivers/Android/Fl_Font.H52
1 files changed, 52 insertions, 0 deletions
diff --git a/src/drivers/Android/Fl_Font.H b/src/drivers/Android/Fl_Font.H
new file mode 100644
index 000000000..ab6489778
--- /dev/null
+++ b/src/drivers/Android/Fl_Font.H
@@ -0,0 +1,52 @@
+//
+// "$Id: Fl_Font.H 12650 2018-02-07 15:34:44Z manolo $"
+//
+// Font definitions for the Fast Light Tool Kit (FLTK).
+//
+// Copyright 1998-2018 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
+//
+
+// Two internal fltk data structures:
+//
+// Fl_Fontdesc: an entry into the fl_font() table. There is one of these
+// for each fltk font number.
+//
+#ifndef FL_FONT_
+#define FL_FONT_
+
+#include <config.h>
+
+#if 0
+
+class Fl_GDI_Font_Descriptor : public Fl_Font_Descriptor {
+public:
+ HFONT fid;
+ int *width[64];
+ TEXTMETRIC metr;
+ int angle;
+ FL_EXPORT Fl_GDI_Font_Descriptor(const char* fontname, Fl_Fontsize size);
+# if HAVE_GL
+ char glok[64];
+# endif // HAVE_GL
+ FL_EXPORT ~Fl_GDI_Font_Descriptor();
+};
+
+#endif
+
+extern FL_EXPORT Fl_Fontdesc *fl_fonts; // the table
+
+#endif
+
+//
+// End of "$Id: Fl_Font.H 12650 2018-02-07 15:34:44Z manolo $".
+//