diff options
Diffstat (limited to 'src/ui/widget.cc')
-rw-r--r-- | src/ui/widget.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/widget.cc b/src/ui/widget.cc index f663cc6..37bde99 100644 --- a/src/ui/widget.cc +++ b/src/ui/widget.cc @@ -402,7 +402,7 @@ void Widget::event_draw() if (widget_border) draw_border(); if (debug()) - draw_debug_border(); + draw_debug(); draw(); for (Children::iterator it = widget_children.begin(); it != widget_children.end(); it++) { @@ -449,7 +449,7 @@ bool Widget::on_emit(Widget *sender, const Event event, void *data) /* -- draw functions ----------------------------------------------- */ -void Widget::draw_debug_border() +void Widget::draw_debug() { Paint::set_color(1.0f, 0.0f, 1.0f, 0.5f); Paint::draw_border(global_location(), size()); |