]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/container.h
Rearrange members
[libs/gltk.git] / source / container.h
index 0384521d4c8657a9a6282618b90f7b6de7dafa38..ddccb06b7dd0e1f16faef7c34807e9444884d2b1 100644 (file)
@@ -1,7 +1,7 @@
 /* $Id$
 
 This file is part of libmspgltk
-Copyright © 2009  Mikko Rasa, Mikkosoft Productions
+Copyright © 2009-2011  Mikko Rasa, Mikkosoft Productions
 Distributed under the LGPL
 */
 
@@ -39,6 +39,9 @@ public:
 
        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);
@@ -48,7 +51,6 @@ public:
        virtual void pointer_motion(int, int);
        virtual void pointer_leave();
 protected:
-       virtual Child *create_child(Widget *);
        virtual void on_reparent();
 };