summaryrefslogtreecommitdiff
path: root/src/gui/viewport.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/viewport.cpp')
-rw-r--r--src/gui/viewport.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp
index 54619c3e6..d9175a07f 100644
--- a/src/gui/viewport.cpp
+++ b/src/gui/viewport.cpp
@@ -123,7 +123,7 @@ void Viewport::draw(Graphics *graphics)
{
graphics->setColor(Color(64, 64, 64));
graphics->fillRectangle(
- gcn::Rectangle(0, 0, getWidth(), getHeight()));
+ Rectangle(0, 0, getWidth(), getHeight()));
BLOCK_END("Viewport::draw 1")
return;
}
@@ -353,7 +353,7 @@ void Viewport::_drawPath(Graphics *const graphics, const Path &path,
const int squareX = i->x * mapTileSize - mPixelViewX + 12;
const int squareY = i->y * mapTileSize - mPixelViewY + 12;
- graphics->fillRectangle(gcn::Rectangle(squareX, squareY, 8, 8));
+ graphics->fillRectangle(Rectangle(squareX, squareY, 8, 8));
if (mMap)
{
const std::string str = toString(cnt);
@@ -371,8 +371,8 @@ void Viewport::_drawPath(Graphics *const graphics, const Path &path,
const int squareX = i->x - mPixelViewX;
const int squareY = i->y - mPixelViewY;
- graphics->fillRectangle(gcn::Rectangle(squareX - 4, squareY - 4,
- 8, 8));
+ graphics->fillRectangle(Rectangle(
+ squareX - 4, squareY - 4, 8, 8));
if (mMap)
{
const std::string str = toString(mMap->getMetaTile(