1 #ifndef MSP_GLTK_STYLE_H_
2 #define MSP_GLTK_STYLE_H_
4 #include <msp/gl/color.h>
5 #include <msp/gl/font.h>
6 #include <msp/datafile/loader.h>
17 class Loader: public DataFile::Loader
24 typedef Resources Collection;
26 Loader(Style &, Resources &);
27 Style &get_object() const { return style; }
28 Resources &get_collection() const { return res; }
30 void font(const std::string &);
31 void font_color(float, float, float);
32 void part(const std::string &);
36 const GL::Font *get_font() const { return font; }
37 const GL::Color &get_font_color() const { return font_color; }
38 const PartSeq &get_parts() const { return parts; }