Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2011-07-31 18:18:43 +0000
committerStijn Buys <ingar@osirion.org>2011-07-31 18:18:43 +0000
commit12e47f19f008d9134bad137a07a53e75207e50ff (patch)
treedc58df3c0e214184e8090c24da7a978f8c546575 /src/ui
parent14d406cdcfabf77b6fc1fbce0d381bcdecbb0e94 (diff)
Corrects widget drawing order.
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/widget.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/widget.cc b/src/ui/widget.cc
index 9ae2f32..4812b1f 100644
--- a/src/ui/widget.cc
+++ b/src/ui/widget.cc
@@ -449,6 +449,8 @@ void Widget::event_draw()
if (widget_background)
draw_background();
+
+ draw();
for (Children::iterator it = widget_children.begin(); it != widget_children.end(); it++) {
if ((*it)->visible())
@@ -460,8 +462,6 @@ void Widget::event_draw()
if (debug())
draw_debug();
-
- draw();
}
void Widget::event_resize()