summaryrefslogtreecommitdiff
path: root/src/gui/equipmentwindow.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-05-08 18:18:35 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-05-08 18:18:35 +0200
commitb4150856b56584b3922f2a9e2489ba472d2e864b (patch)
treefa9247fb57696d1bbecd1d8f614d97863d280b6f /src/gui/equipmentwindow.cpp
parentb6fc8fe00cef602e917df232da34d66f4f653f0b (diff)
downloadmana-b4150856b56584b3922f2a9e2489ba472d2e864b.tar.gz
mana-b4150856b56584b3922f2a9e2489ba472d2e864b.tar.bz2
mana-b4150856b56584b3922f2a9e2489ba472d2e864b.tar.xz
mana-b4150856b56584b3922f2a9e2489ba472d2e864b.zip
Keep a little spacing above the tabs in the chat window
Diffstat (limited to 'src/gui/equipmentwindow.cpp')
-rw-r--r--src/gui/equipmentwindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/equipmentwindow.cpp b/src/gui/equipmentwindow.cpp
index 7810a098..8934f7ce 100644
--- a/src/gui/equipmentwindow.cpp
+++ b/src/gui/equipmentwindow.cpp
@@ -124,15 +124,15 @@ void EquipmentWindow::draw(gcn::Graphics *graphics)
{
const gcn::Color color = guiPalette->getColor(Palette::HIGHLIGHT);
- // Set color to the highligh color
+ // Set color to the highlight color
g->setColor(gcn::Color(color.r, color.g, color.b, getGuiAlpha()));
g->fillRectangle(gcn::Rectangle(mEquipBox[i].posX, mEquipBox[i].posY,
BOX_WIDTH, BOX_HEIGHT));
}
- // Set color black.
+ // Set color black
g->setColor(gcn::Color(0, 0, 0));
- // Draw box border.
+ // Draw box border
g->drawRectangle(gcn::Rectangle(mEquipBox[i].posX, mEquipBox[i].posY,
BOX_WIDTH, BOX_HEIGHT));