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/gui/windows/equipmentwindow.cpp | |
parent | bec451007ce9471004ec4a8357cea3cb7712de55 (diff) | |
download | mv-eed93efa8aa8539b47f225b4abafe6d59bebe67d.tar.gz mv-eed93efa8aa8539b47f225b4abafe6d59bebe67d.tar.bz2 mv-eed93efa8aa8539b47f225b4abafe6d59bebe67d.tar.xz mv-eed93efa8aa8539b47f225b4abafe6d59bebe67d.zip |
Rename drawImage2 methods into drawImage.
Diffstat (limited to 'src/gui/windows/equipmentwindow.cpp')
-rw-r--r-- | src/gui/windows/equipmentwindow.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/windows/equipmentwindow.cpp b/src/gui/windows/equipmentwindow.cpp index a50d0e9fa..ea7944f94 100644 --- a/src/gui/windows/equipmentwindow.cpp +++ b/src/gui/windows/equipmentwindow.cpp @@ -202,12 +202,12 @@ void EquipmentWindow::draw(Graphics *graphics) continue; if (i == mSelected) { - graphics->drawImage2(mSlotHighlightedBackground, + graphics->drawImage(mSlotHighlightedBackground, box->x, box->y); } else { - graphics->drawImage2(mSlotBackground, box->x, box->y); + graphics->drawImage(mSlotBackground, box->x, box->y); } } } @@ -234,7 +234,7 @@ void EquipmentWindow::draw(Graphics *graphics) { image->setAlpha(1.0F); // Ensure the image is drawn // with maximum opacity - graphics->drawImage2(image, box->x + mItemPadding, + graphics->drawImage(image, box->x + mItemPadding, box->y + mItemPadding); if (i == EQUIP_PROJECTILE_SLOT) { @@ -249,7 +249,7 @@ void EquipmentWindow::draw(Graphics *graphics) } else if (box->image) { - graphics->drawImage2(box->image, + graphics->drawImage(box->image, box->x + mItemPadding, box->y + mItemPadding); } |