summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2004-12-18 11:02:49 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2004-12-18 11:02:49 +0000
commitb7fd8b69703e137a03794cc6e65f5f1e9eafbe0c (patch)
treed489699f52727ed05d2614170b2d1712f6345067
parent8c8a7134b312939516cc282950becf6ee85ca5bc (diff)
downloadmana-b7fd8b69703e137a03794cc6e65f5f1e9eafbe0c.tar.gz
mana-b7fd8b69703e137a03794cc6e65f5f1e9eafbe0c.tar.bz2
mana-b7fd8b69703e137a03794cc6e65f5f1e9eafbe0c.tar.xz
mana-b7fd8b69703e137a03794cc6e65f5f1e9eafbe0c.zip
Corrected titlebar height.
-rw-r--r--src/gui/window.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/window.cpp b/src/gui/window.cpp
index 1429ae1c..c038312c 100644
--- a/src/gui/window.cpp
+++ b/src/gui/window.cpp
@@ -29,20 +29,20 @@ Window::Window(std::string text) :
mousePY(0),
snapSize(8),
mouseDown(false),
- titlebarHeight(24)
+ titlebarHeight(20)
{
titlebarColor.r = 32;
titlebarColor.g = 32;
titlebarColor.b = 128;
- gcn::Widget::setBaseColor(gcn::Color(255, 255, 255));
+ setBaseColor(gcn::Color(255, 255, 255));
- //load dialog title bar image
+ // Load dialog title bar image
dLeft = load_bitmap("data/Skin/dialogLeft.bmp", NULL);
dMid = load_bitmap("data/Skin/dialogMiddle.bmp", NULL);
dRight = load_bitmap("data/Skin/dialogRight.bmp", NULL);
- //register mouse listener
+ // Register mouse listener
addMouseListener(this);
// Add chrome