diff options
author | Stijn Buys <ingar@osirion.org> | 2008-10-19 13:45:07 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-10-19 13:45:07 +0000 |
commit | 56cdfd3822d2800abdd2f912ab7f76a5764793a7 (patch) | |
tree | 2656c7ef694117e0554ae4a47bb09629c78ed8af /src/ui/label.cc | |
parent | e6f1fad441a7737549f463ebac1c9de062b5173d (diff) |
scrollpane widget, updated chatbox
Diffstat (limited to 'src/ui/label.cc')
-rw-r--r-- | src/ui/label.cc | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/ui/label.cc b/src/ui/label.cc index 80e493e..cf9b473 100644 --- a/src/ui/label.cc +++ b/src/ui/label.cc @@ -50,18 +50,11 @@ void Label::set_alignment(const unsigned int alignment) void Label::draw() { - Widget::draw(); - - draw_text(); -} - -void Label::draw_text() -{ if (!label_text.size()) return; paint::color(palette()->foreground()); - paint::text(global_location(), size(), font(), text(), alignment()); + paint::label(global_location(), size(), font(), text(), alignment()); } } |