aboutsummaryrefslogtreecommitdiff
path: root/dw/fltkplatform.hh
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2011-01-27 23:14:33 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2011-01-27 23:14:33 +0100
commit6e44eda06b9737be1e781787b6476452192c7af2 (patch)
treed7a1d4d8f2a43e7a03580d7e66be73b0eb5fe078 /dw/fltkplatform.hh
parent0ba2621dba5a58a84dee5944cd89acd5541b67a0 (diff)
more font selection stuff
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;