diff options
author | Eugenio Favalli <elvenprogrammer@gmail.com> | 2006-06-27 19:27:44 +0000 |
---|---|---|
committer | Eugenio Favalli <elvenprogrammer@gmail.com> | 2006-06-27 19:27:44 +0000 |
commit | 4cd69c6a9327108a07d282011c14562e57aa9e86 (patch) | |
tree | 32c1008319910385d7c84039be987208d69c1290 /src/gui/equipmentwindow.cpp | |
parent | fc328ac48b9ca8b4fff2878f37cc56795ed25dca (diff) | |
download | mana-client-4cd69c6a9327108a07d282011c14562e57aa9e86.tar.gz mana-client-4cd69c6a9327108a07d282011c14562e57aa9e86.tar.bz2 mana-client-4cd69c6a9327108a07d282011c14562e57aa9e86.tar.xz mana-client-4cd69c6a9327108a07d282011c14562e57aa9e86.zip |
Equipment window now show all the slots, and adapted visible shirts to head (middle) equipments.
Diffstat (limited to 'src/gui/equipmentwindow.cpp')
-rw-r--r-- | src/gui/equipmentwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/equipmentwindow.cpp b/src/gui/equipmentwindow.cpp index 1b9cfc55..fd979beb 100644 --- a/src/gui/equipmentwindow.cpp +++ b/src/gui/equipmentwindow.cpp @@ -39,7 +39,7 @@ EquipmentWindow::EquipmentWindow(Equipment *equipment): Window("Equipment"), mEquipment(equipment) { setWindowName("Equipment"); - setDefaultSize(5, 230, 200, 90); + setDefaultSize(5, 230, 200, 120); loadWindowState(); mItemset = ResourceManager::getInstance()->createSpriteset( @@ -63,7 +63,7 @@ void EquipmentWindow::draw(gcn::Graphics *graphics) // Rectangles around items are black graphics->setColor(gcn::Color(0, 0, 0)); - for (int i = 0; i < 8; i++) { + for (int i = 0; i < EQUIPMENT_SIZE; i++) { graphics->drawRectangle(gcn::Rectangle(10 + 36 * (i % 4), 36 * (i / 4) + 25, 32, 32)); |