diff options
-rw-r--r-- | src/gui/chat.cpp | 2 | ||||
-rw-r--r-- | src/gui/equipmentwindow.cpp | 6 |
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)); |