diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2006-03-16 15:50:00 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2006-03-16 15:50:00 +0000 |
commit | 32badd4b6f843cb74fdc3238fe92119518c8c0ab (patch) | |
tree | ade2ace7f5ef62ae9fd14c6409d9c2df43a2348b /src/gui/equipmentwindow.cpp | |
parent | 65ccfccfc1e35a2e65638aea61c46e4e51bd874e (diff) | |
download | mana-32badd4b6f843cb74fdc3238fe92119518c8c0ab.tar.gz mana-32badd4b6f843cb74fdc3238fe92119518c8c0ab.tar.bz2 mana-32badd4b6f843cb74fdc3238fe92119518c8c0ab.tar.xz mana-32badd4b6f843cb74fdc3238fe92119518c8c0ab.zip |
A bunch of cosmetic changes.
Diffstat (limited to 'src/gui/equipmentwindow.cpp')
-rw-r--r-- | src/gui/equipmentwindow.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/equipmentwindow.cpp b/src/gui/equipmentwindow.cpp index 61a9ad55..64c368bc 100644 --- a/src/gui/equipmentwindow.cpp +++ b/src/gui/equipmentwindow.cpp @@ -60,8 +60,10 @@ void EquipmentWindow::draw(gcn::Graphics *graphics) Item *item; Image *image; + // Rectangles around items are black + graphics->setColor(gcn::Color(0, 0, 0)); + for (int i = 0; i < 8; i++) { - graphics->setColor(gcn::Color(0, 0, 0)); graphics->drawRectangle(gcn::Rectangle(10 + 36 * (i % 4), 36 * (i / 4) + 25, 32, 32)); @@ -74,7 +76,6 @@ void EquipmentWindow::draw(gcn::Graphics *graphics) image, 36 * (i % 4) + 10, 36 * (i / 4) + 25); } - graphics->setColor(gcn::Color(0, 0, 0)); graphics->drawRectangle(gcn::Rectangle(160, 25, 32, 32)); if (!(item = mEquipment->getArrows())) { @@ -86,6 +87,5 @@ void EquipmentWindow::draw(gcn::Graphics *graphics) dynamic_cast<Graphics*>(graphics)->drawImage(image, 160, 25); std::stringstream n; n << item->getQuantity(); - graphics->drawText(n.str(), 170, 62, - gcn::Graphics::CENTER); + graphics->drawText(n.str(), 170, 62, gcn::Graphics::CENTER); } |