]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/style.h
Change Style so it doesn't need a special loading function
[libs/gltk.git] / source / style.h
index 56f7ac484afce3e94fd2ee4b639b70466e32eeeb..620aa21245bdf03f2ca0c788ffb9aa9c88dc2b67 100644 (file)
@@ -46,8 +46,8 @@ private:
        PartSeq parts;
 
 public:
-       Style(Resources &);
-       const GL::Font &get_font() const  { return *font; }
+       Style();
+       const GL::Font &get_font() const;
        unsigned get_font_size() const { return font_size; }
        const GL::Color &get_font_color() const { return font_color; }
        const PartSeq &get_parts() const { return parts; }