]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/style.h
Make font size a property of Style
[libs/gltk.git] / source / style.h
index 3521031a516fda1263b5aacf77815dfbbe570272..29c5e3430b0fca7a1581312fee3e1a2df5ac999f 100644 (file)
@@ -41,12 +41,14 @@ public:
 
 private:
        const GL::Font *font;
+       unsigned font_size;
        GL::Color font_color;
        PartSeq parts;
 
 public:
        Style(Resources &);
        const GL::Font *get_font() const  { return font; }
+       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; }
        const Part *get_part(const std::string &) const;