diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-14 16:59:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-14 16:59:21 +0300 |
commit | d9a77eb8ac5d507665cbf8b20f5d8187148ebfd1 (patch) | |
tree | db2f8a25d466ce6aa5ca1747216156f7869a06d1 /src/gui/widgets/itemshortcutcontainer.cpp | |
parent | 2851324a6847efa7ea6f556941b369e9e304dc23 (diff) | |
download | plus-d9a77eb8ac5d507665cbf8b20f5d8187148ebfd1.tar.gz plus-d9a77eb8ac5d507665cbf8b20f5d8187148ebfd1.tar.bz2 plus-d9a77eb8ac5d507665cbf8b20f5d8187148ebfd1.tar.xz plus-d9a77eb8ac5d507665cbf8b20f5d8187148ebfd1.zip |
Improve a bit separate images drawing.
Diffstat (limited to 'src/gui/widgets/itemshortcutcontainer.cpp')
-rw-r--r-- | src/gui/widgets/itemshortcutcontainer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/itemshortcutcontainer.cpp b/src/gui/widgets/itemshortcutcontainer.cpp index 266c96241..7271f3943 100644 --- a/src/gui/widgets/itemshortcutcontainer.cpp +++ b/src/gui/widgets/itemshortcutcontainer.cpp @@ -175,7 +175,7 @@ void ItemShortcutContainer::draw(gcn::Graphics *graphics) caption = "Eq."; image->setAlpha(1.0F); - g->drawImage(image, itemX, itemY); + DRAW_IMAGE(g, image, itemX, itemY); if (item->isEquipped()) g->setColorAll(mEquipedColor, mEquipedColor2); else @@ -199,7 +199,7 @@ void ItemShortcutContainer::draw(gcn::Graphics *graphics) if (image) { image->setAlpha(1.0F); - g->drawImage(image, itemX, itemY); + DRAW_IMAGE(g, image, itemX, itemY); } } @@ -218,7 +218,7 @@ void ItemShortcutContainer::draw(gcn::Graphics *graphics) if (image) { image->setAlpha(1.0F); - g->drawImage(image, itemX, itemY); + DRAW_IMAGE(g, image, itemX, itemY); } font->drawString(g, skill->data->shortName, itemX + 2, |