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/console.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ui/console.cc') diff --git a/src/ui/console.cc b/src/ui/console.cc index 6ce3593..7bd308e 100644 --- a/src/ui/console.cc +++ b/src/ui/console.cc @@ -194,13 +194,13 @@ void Console::draw() math::Color fancy(palette()->fancy()); fancy.a = 0.5f; - paint::color(fancy); + Paint::set_color(fancy); std::string version(core::name() + ' ' + core::version()); s.assign(version.size() * font()->width(), font()->height()); math::Vector2f l(global_location()); l[0] += width() - s.width() - 4; l[1] += height() - s.height() - 4; - paint::text(l, s, font(), version); + Paint::draw_text(l, font(), version); } void Console::save_history() -- cgit v1.2.3