diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-02-24 14:01:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-02-24 21:18:57 +0300 |
commit | 0a8b5d325f2d2c326b6da27399711b198417a499 (patch) | |
tree | 9e89aa7610f3f74ef9df53f6afce6655fc95ab07 /src/flooritem.cpp | |
parent | 779b65f15d3350b2d95a095e24a90526c64dcecb (diff) | |
download | ManaVerse-0a8b5d325f2d2c326b6da27399711b198417a499.tar.gz ManaVerse-0a8b5d325f2d2c326b6da27399711b198417a499.tar.bz2 ManaVerse-0a8b5d325f2d2c326b6da27399711b198417a499.tar.xz ManaVerse-0a8b5d325f2d2c326b6da27399711b198417a499.zip |
Rename Rectangle into Rect.
Rename ClipRectangle into ClipRect.
Diffstat (limited to 'src/flooritem.cpp')
-rw-r--r-- | src/flooritem.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/flooritem.cpp b/src/flooritem.cpp index fd6a6afd3..9ffa8f64a 100644 --- a/src/flooritem.cpp +++ b/src/flooritem.cpp @@ -123,7 +123,7 @@ void FloorItem::draw(Graphics *const graphics, if (curTime > mDropTime + 28 && curTime < mDropTime + 50) { graphics->setColor(Color(80, 200, 20, 200)); - graphics->fillRectangle(Rectangle( + graphics->fillRectangle(Rect( x, y, dx, dy)); } else if (curTime > mDropTime + 19 @@ -131,14 +131,14 @@ void FloorItem::draw(Graphics *const graphics, { graphics->setColor(Color(200, 80, 20, 80 + 10 * (curTime - mDropTime - 18))); - graphics->fillRectangle(Rectangle( + graphics->fillRectangle(Rect( x, y, dx, dy)); } else if (curTime > mDropTime && curTime < mDropTime + 20) { graphics->setColor(Color(20, 20, 255, 7 * (curTime - mDropTime))); - graphics->fillRectangle(Rectangle(x, y, dx, dy)); + graphics->fillRectangle(Rect(x, y, dx, dy)); } } } |