diff options
Diffstat (limited to 'dw/fltkplatform.hh')
-rw-r--r-- | dw/fltkplatform.hh | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/dw/fltkplatform.hh b/dw/fltkplatform.hh index 7f430ee3..776204a6 100644 --- a/dw/fltkplatform.hh +++ b/dw/fltkplatform.hh @@ -34,13 +34,13 @@ class FltkColor: public core::style::Color static lout::container::typed::HashTable <dw::core::style::ColorAttrs, FltkColor> *colorsTable; - FltkColor (int color, core::style::Color::Type type); + FltkColor (int color); ~FltkColor (); public: int colors[SHADING_NUM]; - static FltkColor *create(int color, core::style::Color::Type type); + static FltkColor *create(int color); }; @@ -126,14 +126,15 @@ public: int textWidth (core::style::Font *font, const char *text, int len); int nextGlyph (const char *text, int idx); int prevGlyph (const char *text, int idx); + float dpiX (); + float dpiY (); int addIdle (void (core::Layout::*func) ()); void removeIdle (int idleId); core::style::Font *createFont (core::style::FontAttrs *attrs, bool tryEverything); - core::style::Color *createSimpleColor (int color); - core::style::Color *createShadedColor (int color); + core::style::Color *createColor (int color); core::Imgbuf *createImgbuf (core::Imgbuf::Type type, int width, int height); |