Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/widget.h')
-rw-r--r--src/ui/widget.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ui/widget.h b/src/ui/widget.h
index 60670b6..c002c73 100644
--- a/src/ui/widget.h
+++ b/src/ui/widget.h
@@ -278,8 +278,14 @@ protected:
/// draw the widget border
virtual void draw_border();
+ /// add a child widget
virtual void add_child(Widget *child);
+
+ /// remove a child widget
virtual void remove_child(Widget *child);
+
+ /// remove all child widgets
+ virtual void remove_children();
private:
void draw_debug_border();