From cc18095cded14f5e7e3f049e47fca2224134b647 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 19 Sep 2010 19:44:13 +0000 Subject: text rendering cleanups, inventory capacity & cargo volume --- src/ui/label.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ui/label.cc') diff --git a/src/ui/label.cc b/src/ui/label.cc index b6f72c7..ef5b14f 100644 --- a/src/ui/label.cc +++ b/src/ui/label.cc @@ -58,8 +58,8 @@ void Label::draw() if (!label_text.size()) return; - paint::color(palette()->foreground()); - paint::label(global_location(), size(), font(), text(), alignment()); + Paint::set_color(palette()->foreground()); + Paint::draw_label(global_location(), size(), font(), text(), alignment()); } } -- cgit v1.2.3