summaryrefslogtreecommitdiff
path: root/src/gui/widgets/itemshortcutcontainer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-23 20:17:46 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-23 20:17:46 +0300
commiteed93efa8aa8539b47f225b4abafe6d59bebe67d (patch)
tree222fa8dcc991d9603d94645ad66cedd488648042 /src/gui/widgets/itemshortcutcontainer.cpp
parentbec451007ce9471004ec4a8357cea3cb7712de55 (diff)
downloadmv-eed93efa8aa8539b47f225b4abafe6d59bebe67d.tar.gz
mv-eed93efa8aa8539b47f225b4abafe6d59bebe67d.tar.bz2
mv-eed93efa8aa8539b47f225b4abafe6d59bebe67d.tar.xz
mv-eed93efa8aa8539b47f225b4abafe6d59bebe67d.zip
Rename drawImage2 methods into drawImage.
Diffstat (limited to 'src/gui/widgets/itemshortcutcontainer.cpp')
-rw-r--r--src/gui/widgets/itemshortcutcontainer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/itemshortcutcontainer.cpp b/src/gui/widgets/itemshortcutcontainer.cpp
index 83c8820ae..b9dc3bec8 100644
--- a/src/gui/widgets/itemshortcutcontainer.cpp
+++ b/src/gui/widgets/itemshortcutcontainer.cpp
@@ -174,7 +174,7 @@ void ItemShortcutContainer::draw(Graphics *graphics)
caption = "Eq.";
image->setAlpha(1.0F);
- graphics->drawImage2(image, itemX, itemY);
+ graphics->drawImage(image, itemX, itemY);
if (item->isEquipped())
{
graphics->setColorAll(mEquipedColor, mEquipedColor2);
@@ -203,7 +203,7 @@ void ItemShortcutContainer::draw(Graphics *graphics)
if (image)
{
image->setAlpha(1.0F);
- graphics->drawImage2(image, itemX, itemY);
+ graphics->drawImage(image, itemX, itemY);
}
}
@@ -222,7 +222,7 @@ void ItemShortcutContainer::draw(Graphics *graphics)
if (image)
{
image->setAlpha(1.0F);
- graphics->drawImage2(image, itemX, itemY);
+ graphics->drawImage(image, itemX, itemY);
}
font->drawString(graphics, skill->data->shortName, itemX + 2,