diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-01-15 17:49:01 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-01-15 17:49:01 +0000 |
commit | 8ed926ea15e8f151b8b81f93a5dccd0d53cf7ca1 (patch) | |
tree | 800d8d02db775b5f263eaee92c5cbf021d800e9f /src/gui/scrollarea.cpp | |
parent | c92d7c1188febd7c5af15fa710ab06c3af4dede5 (diff) | |
download | mana-client-8ed926ea15e8f151b8b81f93a5dccd0d53cf7ca1.tar.gz mana-client-8ed926ea15e8f151b8b81f93a5dccd0d53cf7ca1.tar.bz2 mana-client-8ed926ea15e8f151b8b81f93a5dccd0d53cf7ca1.tar.xz mana-client-8ed926ea15e8f151b8b81f93a5dccd0d53cf7ca1.zip |
Cleaned up includes, separated engine from graphics and single buffer now
used throughout application, cleaned up shop functions.
Diffstat (limited to 'src/gui/scrollarea.cpp')
-rw-r--r-- | src/gui/scrollarea.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/scrollarea.cpp b/src/gui/scrollarea.cpp index f994ea52..80943ef7 100644 --- a/src/gui/scrollarea.cpp +++ b/src/gui/scrollarea.cpp @@ -104,7 +104,7 @@ void ScrollArea::drawBorder(gcn::Graphics *graphics) x -= bs; y -= bs; - draw_skinned_rect(gui_bitmap, &gui_skin.textbox.bg, x, y, w, h); + draw_skinned_rect(buffer, &gui_skin.textbox.bg, x, y, w, h); } void ScrollArea::drawUpButton(gcn::Graphics *graphics) @@ -133,7 +133,7 @@ void ScrollArea::drawVBar(gcn::Graphics *graphics) gcn::Rectangle dim = getVerticalBarDimension(); getAbsolutePosition(x, y); - draw_skinned_rect(gui_bitmap, &gui_skin.listbox.bg, + draw_skinned_rect(buffer, &gui_skin.listbox.bg, x + dim.x, y + dim.y, dim.width, dim.height); } @@ -148,7 +148,7 @@ void ScrollArea::drawVMarker(gcn::Graphics *graphics) gcn::Rectangle dim = getVerticalMarkerDimension(); getAbsolutePosition(x, y); - draw_skinned_rect(gui_bitmap, &gui_skin.listbox.vscroll, + draw_skinned_rect(buffer, &gui_skin.listbox.vscroll, x + dim.x, y + dim.y, dim.width, dim.height); } |