aboutsummaryrefslogtreecommitdiff
path: root/dw/fltkplatform.hh
diff options
context:
space:
mode:
Diffstat (limited to 'dw/fltkplatform.hh')
-rw-r--r--dw/fltkplatform.hh10
1 files changed, 9 insertions, 1 deletions
diff --git a/dw/fltkplatform.hh b/dw/fltkplatform.hh
index d26dad09..9bc2aca7 100644
--- a/dw/fltkplatform.hh
+++ b/dw/fltkplatform.hh
@@ -14,8 +14,16 @@ namespace fltk {
class FltkFont: public core::style::Font
{
+ class FontFamily: public lout::object::Object {
+ Fl_Font font[4];
+ public:
+ FontFamily ();
+ void set (Fl_Font, int attrs);
+ Fl_Font get (int attrs);
+ };
+
static lout::container::typed::HashTable <lout::object::ConstString,
- lout::object::Integer> *systemFonts;
+ FontFamily> *systemFonts;
static lout::container::typed::HashTable <dw::core::style::FontAttrs,
FltkFont> *fontsTable;