summaryrefslogtreecommitdiff
path: root/src/render/graphics.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-15 00:23:39 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-15 00:23:39 +0300
commit53d28e67f8b7966596818af7cbfd360df241b332 (patch)
tree2924b2c260c14bfb8344d75c4bf7482d5263a39a /src/render/graphics.cpp
parent36de2c64d6bba077775360c9c0d681f0a096ffc3 (diff)
downloadplus-53d28e67f8b7966596818af7cbfd360df241b332.tar.gz
plus-53d28e67f8b7966596818af7cbfd360df241b332.tar.bz2
plus-53d28e67f8b7966596818af7cbfd360df241b332.tar.xz
plus-53d28e67f8b7966596818af7cbfd360df241b332.zip
rename calcTile methods into separate names calcTileVertexes, calTileCollection.
Diffstat (limited to 'src/render/graphics.cpp')
-rw-r--r--src/render/graphics.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/render/graphics.cpp b/src/render/graphics.cpp
index 561ce3a90..8508b9eec 100644
--- a/src/render/graphics.cpp
+++ b/src/render/graphics.cpp
@@ -569,14 +569,14 @@ bool Graphics::calcImageRect(ImageVertexes *const vert,
calcImagePattern(vert, right, x + w - rw, y + th, rw, h - th - bh);
}
- calcTile(vert, topLeft, x, y);
+ calcTileVertexes(vert, topLeft, x, y);
if (topRight)
- calcTile(vert, topRight, x + w - topRight->getWidth(), y);
+ calcTileVertexes(vert, topRight, x + w - topRight->getWidth(), y);
if (bottomLeft)
- calcTile(vert, bottomLeft, x, y + h - bottomLeft->getHeight());
+ calcTileVertexes(vert, bottomLeft, x, y + h - bottomLeft->getHeight());
if (bottomRight)
{
- calcTile(vert, bottomRight, x + w - bottomRight->getWidth(),
+ calcTileVertexes(vert, bottomRight, x + w - bottomRight->getWidth(),
y + h - bottomRight->getHeight());
}