summaryrefslogtreecommitdiff
path: root/src/gui/box.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/box.h')
-rw-r--r--src/gui/box.h27
1 files changed, 15 insertions, 12 deletions
diff --git a/src/gui/box.h b/src/gui/box.h
index dccbfc78..ed1a7163 100644
--- a/src/gui/box.h
+++ b/src/gui/box.h
@@ -31,27 +31,30 @@
class Box : public gcn::Container
{
+ public:
+ /**
+ * Returns padding.
+ */
+ unsigned int getPadding();
+
+ /**
+ * Sets padding between widgets.
+ */
+ void setPadding(unsigned int);
+
protected:
Box();
virtual ~Box();
- /*
- * Spacing between client widgets
+ /**
+ * Spacing between client widgets.
*/
unsigned int padding;
virtual void draw(gcn::Graphics *) = 0;
- public:
- /*
- * Returns padding
- */
- unsigned int getPadding();
-
- /*
- * Sets padding between widgets
- */
- void setPadding(unsigned int);
+ typedef std::list<gcn::Widget*> Widgets;
+ typedef Widgets::iterator WidgetIterator;
};
#endif