summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-04-02 15:37:03 +0000
committerManolo Gouy <Manolo>2016-04-02 15:37:03 +0000
commit6b6c71265f6c5453eb64338600747e2ecb6a6bed (patch)
tree5052f08259858b89285211b33b8716588ecb895a /FL
parent7a8f307fca3d83992be177010b6135121c3efd8d (diff)
Complete removal of platform-dependent code from fl_set_font.cxx
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11512 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_Screen_Driver.H4
1 files changed, 4 insertions, 0 deletions
diff --git a/FL/Fl_Screen_Driver.H b/FL/Fl_Screen_Driver.H
index 0ce662287..87ef0261a 100644
--- a/FL/Fl_Screen_Driver.H
+++ b/FL/Fl_Screen_Driver.H
@@ -114,6 +114,10 @@ public:
virtual int text_display_can_leak() { return 0; }
// an implementation which returns NULL may be enough
static struct Fl_Fontdesc *calc_fl_fonts();
+ // API to the platform-dependent Fl_Fontdesc structure
+ static unsigned font_desc_size();
+ static const char *font_name(int num);
+ static void font_name(int num, const char *name);
};