summaryrefslogtreecommitdiff
path: root/src/gui/widgets/scrollarea.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-15 00:42:06 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-15 00:42:06 +0300
commit5546ac2f1a459b3fba47b42d546469cdae3c1c27 (patch)
tree311576ac10867d5c116c1e13bd542f05be3ebe64 /src/gui/widgets/scrollarea.cpp
parent53d28e67f8b7966596818af7cbfd360df241b332 (diff)
downloadmv-5546ac2f1a459b3fba47b42d546469cdae3c1c27.tar.gz
mv-5546ac2f1a459b3fba47b42d546469cdae3c1c27.tar.bz2
mv-5546ac2f1a459b3fba47b42d546469cdae3c1c27.tar.xz
mv-5546ac2f1a459b3fba47b42d546469cdae3c1c27.zip
rename drawTile methods into separate names drawTileVertexes, drawTileCollection.
Diffstat (limited to 'src/gui/widgets/scrollarea.cpp')
-rw-r--r--src/gui/widgets/scrollarea.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/widgets/scrollarea.cpp b/src/gui/widgets/scrollarea.cpp
index b786ccbb7..ebb91f518 100644
--- a/src/gui/widgets/scrollarea.cpp
+++ b/src/gui/widgets/scrollarea.cpp
@@ -286,7 +286,8 @@ void ScrollArea::draw(gcn::Graphics *graphics)
calcHMarker(graphics);
}
}
- static_cast<Graphics *const>(graphics)->drawTile(mVertexes);
+ static_cast<Graphics *const>(graphics)->drawTileCollection(
+ mVertexes);
}
else
{
@@ -378,7 +379,7 @@ void ScrollArea::drawFrame(gcn::Graphics *graphics)
static_cast<Graphics*>(graphics)->calcWindow(
mVertexes2, 0, 0, w, h, background);
}
- static_cast<Graphics*>(graphics)->drawTile(mVertexes2);
+ static_cast<Graphics*>(graphics)->drawTileCollection(mVertexes2);
}
else
{