From 4331f5c17901f46693dcb5c2df96276f6851be25 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Wed, 8 Oct 2008 18:28:21 +0000 Subject: libui updates, paint namespace, font and palette fixes, button sound --- src/ui/bitmap.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/ui/bitmap.cc') diff --git a/src/ui/bitmap.cc b/src/ui/bitmap.cc index d848a52..c14ccff 100644 --- a/src/ui/bitmap.cc +++ b/src/ui/bitmap.cc @@ -4,9 +4,9 @@ the terms of the GNU General Public License version 2 */ -#include "ui/bitmap.h" #include "auxiliary/functions.h" -#include "render/primitives.h" +#include "ui/bitmap.h" +#include "ui/paint.h" #include "sys/sys.h" namespace ui @@ -46,8 +46,8 @@ void Bitmap::set_texture(const char *texture) void Bitmap::draw_background() { if (bitmap_texture.size()) { - render::gl::color(1.0f, 1.0f, 1.0f, 1.0f); - render::primitives::bitmap(global_location(), size(), bitmap_texture); + paint::color(1.0f, 1.0f, 1.0f, 1.0f); + paint::bitmap(global_location(), size(), bitmap_texture); } } -- cgit v1.2.3