summaryrefslogtreecommitdiff
path: root/dw/fltkplatform.hh
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2011-01-28 21:40:19 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2011-01-28 21:40:19 +0100
commit42312bc3da35a224552aeab7b6fb3cf9aae71660 (patch)
tree47388a0dd557f54398b91456e774439a79a2bc09 /dw/fltkplatform.hh
parent6e44eda06b9737be1e781787b6476452192c7af2 (diff)
implement FltkPlatform::fontExists() + other font handling improvements
Diffstat (limited to 'dw/fltkplatform.hh')
-rw-r--r--dw/fltkplatform.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/dw/fltkplatform.hh b/dw/fltkplatform.hh
index 9bc2aca7..791dcc82 100644
--- a/dw/fltkplatform.hh
+++ b/dw/fltkplatform.hh
@@ -22,6 +22,8 @@ class FltkFont: public core::style::Font
Fl_Font get (int attrs);
};
+ static FontFamily standardFontFamily;
+
static lout::container::typed::HashTable <lout::object::ConstString,
FontFamily> *systemFonts;
static lout::container::typed::HashTable <dw::core::style::FontAttrs,
@@ -34,6 +36,7 @@ public:
Fl_Font font;
static FltkFont *create (core::style::FontAttrs *attrs);
+ static bool fontExists (const char *name);
};