/* $Id$
This file is part of libmspgltk
-Copyright © 2009 Mikko Rasa, Mikkosoft Productions
+Copyright © 2009-2011 Mikko Rasa, Mikkosoft Productions
Distributed under the LGPL
*/
Widget *click_focus;
unsigned click_button;
- Container(const Resources &);
+ Container();
public:
virtual ~Container();
void add(Widget &);
void remove(Widget &);
+protected:
+ virtual Child *create_child(Widget *);
+public:
std::list<Widget *> get_children() const;
Widget *get_child_at(int, int);
Widget *get_descendant_at(int, int);
virtual void pointer_motion(int, int);
virtual void pointer_leave();
protected:
- virtual Child *create_child(Widget *);
+ virtual void on_reparent();
};
} // namespace GLtk