diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-01-17 15:11:19 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-01-17 15:11:19 +0000 |
commit | d0c97b98e477cfdf46ed7f36fd16c64f7943d551 (patch) | |
tree | 156acefaae842888432f923257b76bad12a16672 /src/gui/slider.cpp | |
parent | d9593657605b2e286b478718c89bcbe7cd341c43 (diff) | |
download | mana-d0c97b98e477cfdf46ed7f36fd16c64f7943d551.tar.gz mana-d0c97b98e477cfdf46ed7f36fd16c64f7943d551.tar.bz2 mana-d0c97b98e477cfdf46ed7f36fd16c64f7943d551.tar.xz mana-d0c97b98e477cfdf46ed7f36fd16c64f7943d551.zip |
Committing Allegro -> SDL switch, hugely breaking the game.
Diffstat (limited to 'src/gui/slider.cpp')
-rw-r--r-- | src/gui/slider.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/slider.cpp b/src/gui/slider.cpp index ca6d547c..2d07d661 100644 --- a/src/gui/slider.cpp +++ b/src/gui/slider.cpp @@ -80,15 +80,15 @@ void Slider::draw(gcn::Graphics *graphics) y += (h - hStart->getHeight()) / 2; - hStart->draw(buffer, x, y); + hStart->draw(screen, x, y); w -= hStart->getWidth() + hEnd->getWidth(); x += hStart->getWidth(); - hMid->drawPattern(buffer, x, y, w, hMid->getHeight()); + hMid->drawPattern(screen, x, y, w, hMid->getHeight()); x += w; - hEnd->draw(buffer, x, y); + hEnd->draw(screen, x, y); drawMarker(graphics); } @@ -102,5 +102,5 @@ void Slider::drawMarker(gcn::Graphics *graphics) x += mMarkerPosition; y += (h - hGrip->getHeight()) / 2; - hGrip->draw(buffer, x, y); + hGrip->draw(screen, x, y); } |