3 This file is part of libmspgltk
4 Copyright © 2007 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
8 #ifndef MSP_GLTK_STYLE_H_
9 #define MSP_GLTK_STYLE_H_
11 #include <msp/gl/color.h>
12 #include <msp/gl/font.h>
13 #include <msp/datafile/loader.h>
22 Styles define what wigets look like. They are made up of Parts and some
28 class Loader: public DataFile::Loader
35 typedef Resources Collection;
37 Loader(Style &, Resources &);
38 Style &get_object() const { return style; }
39 Resources &get_collection() const { return res; }
41 void font(const std::string &);
42 void font_color(float, float, float);
44 void special(const std::string &);
54 const GL::Font *get_font() const { return font; }
55 const GL::Color &get_font_color() const { return font_color; }
56 const PartSeq &get_parts() const { return parts; }