From 8ed926ea15e8f151b8b81f93a5dccd0d53cf7ca1 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Sat, 15 Jan 2005 17:49:01 +0000 Subject: Cleaned up includes, separated engine from graphics and single buffer now used throughout application, cleaned up shop functions. --- src/gui/button.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/button.cpp') diff --git a/src/gui/button.cpp b/src/gui/button.cpp index 3d7b3b18..3576b1d0 100644 --- a/src/gui/button.cpp +++ b/src/gui/button.cpp @@ -48,7 +48,7 @@ void Button::draw(gcn::Graphics* graphics) { int x, y; getAbsolutePosition(x, y); - draw_skinned_rect(gui_bitmap, &gui_skin.button.background[mode], + draw_skinned_rect(buffer, &gui_skin.button.background[mode], x, y, getWidth(), getHeight()); graphics->setColor(getForegroundColor()); -- cgit v1.2.3-70-g09d2