1 #ifndef MSP_GLTK_PART_H_
2 #define MSP_GLTK_PART_H_
6 #include <msp/parser/loader.h>
19 class Loader: public Parser::Loader
26 void graphic(State, const std::string &);
28 void fill(bool, bool);
31 Part(const Resources &, const std::string &);
32 const std::string &get_name() const { return name; }
33 const Graphic *get_graphic(State) const;
34 const Alignment &get_alignment() const { return align; }
35 bool get_fill_x() const { return fill_x; }
36 bool get_fill_y() const { return fill_y; }
37 void render(const Geometry &, State) const;
41 const Graphic *graphic[N_STATES_];
46 typedef std::list<Part> PartSeq;