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/gui/widgets/shortcutcontainer.cpp | |
parent | 36de2c64d6bba077775360c9c0d681f0a096ffc3 (diff) | |
download | manaverse-53d28e67f8b7966596818af7cbfd360df241b332.tar.gz manaverse-53d28e67f8b7966596818af7cbfd360df241b332.tar.bz2 manaverse-53d28e67f8b7966596818af7cbfd360df241b332.tar.xz manaverse-53d28e67f8b7966596818af7cbfd360df241b332.zip |
rename calcTile methods into separate names calcTileVertexes, calTileCollection.
Diffstat (limited to 'src/gui/widgets/shortcutcontainer.cpp')
-rw-r--r-- | src/gui/widgets/shortcutcontainer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/shortcutcontainer.cpp b/src/gui/widgets/shortcutcontainer.cpp index a68bc8b07..7cd8a2f38 100644 --- a/src/gui/widgets/shortcutcontainer.cpp +++ b/src/gui/widgets/shortcutcontainer.cpp @@ -98,7 +98,7 @@ void ShortcutContainer::drawBackground(Graphics *g) mVertexes->clear(); for (unsigned i = 0; i < mMaxItems; i ++) { - g->calcTile(mVertexes, mBackgroundImg, + g->calcTileCollection(mVertexes, mBackgroundImg, (i % mGridWidth) * mBoxWidth, (i / mGridWidth) * mBoxHeight); } |