diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-02-23 20:17:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-02-23 20:17:46 +0300 |
commit | eed93efa8aa8539b47f225b4abafe6d59bebe67d (patch) | |
tree | 222fa8dcc991d9603d94645ad66cedd488648042 /src/touchmanager.cpp | |
parent | bec451007ce9471004ec4a8357cea3cb7712de55 (diff) | |
download | manaverse-eed93efa8aa8539b47f225b4abafe6d59bebe67d.tar.gz manaverse-eed93efa8aa8539b47f225b4abafe6d59bebe67d.tar.bz2 manaverse-eed93efa8aa8539b47f225b4abafe6d59bebe67d.tar.xz manaverse-eed93efa8aa8539b47f225b4abafe6d59bebe67d.zip |
Rename drawImage2 methods into drawImage.
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 f560b8817..bb222c3e8 100644 --- a/src/touchmanager.cpp +++ b/src/touchmanager.cpp @@ -232,7 +232,7 @@ void TouchManager::draw() const Image *const icon = item->icon; if (icon) { - mainGraphics->drawImage2(icon, + mainGraphics->drawImage(icon, item->x + (item->width - icon->mBounds.w) / 2, item->y + (item->height - icon->mBounds.h) / 2); } |