From b4150856b56584b3922f2a9e2489ba472d2e864b Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Fri, 8 May 2009 18:18:35 +0200 Subject: Keep a little spacing above the tabs in the chat window --- src/gui/chat.cpp | 2 +- src/gui/equipmentwindow.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/gui') 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)); -- cgit v1.2.3-70-g09d2