summaryrefslogtreecommitdiff
path: root/src/gui
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
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')
-rw-r--r--src/gui/chat.cpp2
-rw-r--r--src/gui/equipmentwindow.cpp6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/chat.cpp b/src/gui/chat.cpp
index 2fae7b0d..3d0cb766 100644
--- a/src/gui/chat.cpp
+++ b/src/gui/chat.cpp
@@ -75,7 +75,7 @@ ChatWindow::ChatWindow():
setWindowName("Chat");
// no title presented, title bar is padding so window can be moved.
- gcn::Window::setTitleBarHeight(gcn::Window::getPadding());
+ gcn::Window::setTitleBarHeight(gcn::Window::getPadding() + 4);
setShowTitle(false);
setResizable(true);
setDefaultVisible(true);
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));