diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-15 00:23:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-15 00:23:39 +0300 |
commit | 53d28e67f8b7966596818af7cbfd360df241b332 (patch) | |
tree | 2924b2c260c14bfb8344d75c4bf7482d5263a39a /src/touchmanager.cpp | |
parent | 36de2c64d6bba077775360c9c0d681f0a096ffc3 (diff) | |
download | manaplus-53d28e67f8b7966596818af7cbfd360df241b332.tar.gz manaplus-53d28e67f8b7966596818af7cbfd360df241b332.tar.bz2 manaplus-53d28e67f8b7966596818af7cbfd360df241b332.tar.xz manaplus-53d28e67f8b7966596818af7cbfd360df241b332.zip |
rename calcTile methods into separate names calcTileVertexes, calTileCollection.
Diffstat (limited to 'src/touchmanager.cpp')
-rw-r--r-- | src/touchmanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/touchmanager.cpp b/src/touchmanager.cpp index dbee76e49..6ee96b5d0 100644 --- a/src/touchmanager.cpp +++ b/src/touchmanager.cpp @@ -203,7 +203,7 @@ void TouchManager::draw() const Image *const icon = item->icon; if (icon) { - mainGraphics->calcTile(mVertexes, icon, + mainGraphics->calcTileCollection(mVertexes, icon, item->x + (item->width - icon->mBounds.w) / 2, item->y + (item->height - icon->mBounds.h) / 2); } |