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/label.cc')
-rw-r--r--src/ui/label.cc9
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());
}
}