1 #ifndef MSP_GLTK_PANEL_H_
2 #define MSP_GLTK_PANEL_H_
9 class Panel: public Widget
12 class Loader: public Widget::Loader
16 std::map<std::string, Widget *> &wdg_map;
19 Loader(Panel &, std::map<std::string, Widget *> &);
22 void child(const std::string &);
25 Panel(const Resources &);
29 void button_press(int, int, unsigned);
30 void button_release(int, int, unsigned);
31 void pointer_motion(int, int);
32 void key_press(unsigned, unsigned, wchar_t);
33 void key_release(unsigned, unsigned);
36 typedef std::list<Widget *> ChildSeq;
39 Widget *pointer_focus;
40 unsigned pointer_grab;
44 Panel &operator=(const Panel &);
45 const char *get_class() const { return "panel"; }
46 void render_part(const Part &) const;
47 void set_pointer_focus(Widget *);
48 void set_input_focus(Widget *);