5 #include <msp/datafile/objectloader.h>
14 class Loader: public Msp::DataFile::ObjectLoader<Appearance>
20 Loader(Appearance &, const Theme * = 0);
22 void background_color(unsigned, unsigned, unsigned);
23 void background_color_named(const std::string &);
24 void border_color(unsigned, unsigned, unsigned);
25 void border_color_named(const std::string &);
26 void font_size(float);
27 void text_color(unsigned, unsigned, unsigned);
28 void text_color_named(const std::string &);
34 Color background_color;
37 unsigned sound_volume;
42 void merge_from(const Appearance &);
44 unsigned get_font_size() const { return font_size; }
45 const Color &get_border_color() const { return border_color; }
46 const Color &get_background_color() const { return background_color; }
47 const Color &get_text_color() const { return text_color; }
48 unsigned get_sound_type() const { return sound_type; }
49 unsigned get_sound_volume() const { return sound_volume; }
51 void add_lines(FilterStatement &) const;