9 Style::Style(const Resources &r, const string &w, const string &n):
13 font(&res.get_default_font())
17 Style::Loader::Loader(Style &s):
20 add("font", &Loader::font);
21 add("font_color", &Loader::font_color);
22 add("part", &Loader::part);
25 void Style::Loader::font(const string &f)
27 style.font=&style.res.get_font(f);
30 void Style::Loader::font_color(float r, float g, float b)
32 style.font_color=Color(r, g, b);
35 void Style::Loader::part(const string &n)
39 style.parts.push_back(p);