diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-03-31 09:51:31 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-03-31 09:51:31 -0600 |
commit | 2c5f308192d18b5447a5b0e2ee3428984c1f1b78 (patch) | |
tree | fb6eb3b3e626a1cf09668c5fef16531ac5651bf3 /src/gui | |
parent | 908a43a0522cf879daed4e671f187eb25329cfa7 (diff) | |
download | mana-client-2c5f308192d18b5447a5b0e2ee3428984c1f1b78.tar.gz mana-client-2c5f308192d18b5447a5b0e2ee3428984c1f1b78.tar.bz2 mana-client-2c5f308192d18b5447a5b0e2ee3428984c1f1b78.tar.xz mana-client-2c5f308192d18b5447a5b0e2ee3428984c1f1b78.zip |
Remove unused background
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/equipmentwindow.cpp | 7 | ||||
-rw-r--r-- | src/gui/equipmentwindow.h | 1 |
2 files changed, 0 insertions, 8 deletions
diff --git a/src/gui/equipmentwindow.cpp b/src/gui/equipmentwindow.cpp index 88cd7b74..7111e7fc 100644 --- a/src/gui/equipmentwindow.cpp +++ b/src/gui/equipmentwindow.cpp @@ -68,7 +68,6 @@ EquipmentWindow::EquipmentWindow(): #ifdef TMWSERV_SUPPORT mEquipment(equipment), #endif - mBackground(NULL), mSelected(-1) { mItemPopup = new ItemPopup; @@ -102,10 +101,6 @@ EquipmentWindow::EquipmentWindow(): mEquipBox[i].posY = boxPosition[i][1] + getTitleBarHeight(); } - ResourceManager *resman = ResourceManager::getInstance(); - mBackground = resman->getImage("graphics/gui/equip_bg.png"); - if (mBackground) mBackground->setAlpha(0.3); - #ifdef EATHENA_SUPPORT mEquipment = player_node->mEquipment.get(); mInventory = player_node->getInventory(); @@ -114,8 +109,6 @@ EquipmentWindow::EquipmentWindow(): EquipmentWindow::~EquipmentWindow() { - if (mBackground != NULL) - mBackground->decRef(); delete mItemPopup; delete mUnequip; } diff --git a/src/gui/equipmentwindow.h b/src/gui/equipmentwindow.h index 7f7150ff..3e0afb48 100644 --- a/src/gui/equipmentwindow.h +++ b/src/gui/equipmentwindow.h @@ -118,7 +118,6 @@ class EquipmentWindow : public Window, public gcn::ActionListener Inventory *mInventory; #endif gcn::Button *mUnequip; /**< Button for unequipping. */ - Image *mBackground; /**< Background Image. */ EquipBox mEquipBox[EQUIP_VECTOREND]; /**< Equipment Boxes. */ ItemPopup *mItemPopup; |