diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2004-12-18 11:02:49 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2004-12-18 11:02:49 +0000 |
commit | b7fd8b69703e137a03794cc6e65f5f1e9eafbe0c (patch) | |
tree | d489699f52727ed05d2614170b2d1712f6345067 /src/gui/window.cpp | |
parent | 8c8a7134b312939516cc282950becf6ee85ca5bc (diff) | |
download | mana-client-b7fd8b69703e137a03794cc6e65f5f1e9eafbe0c.tar.gz mana-client-b7fd8b69703e137a03794cc6e65f5f1e9eafbe0c.tar.bz2 mana-client-b7fd8b69703e137a03794cc6e65f5f1e9eafbe0c.tar.xz mana-client-b7fd8b69703e137a03794cc6e65f5f1e9eafbe0c.zip |
Corrected titlebar height.
Diffstat (limited to 'src/gui/window.cpp')
-rw-r--r-- | src/gui/window.cpp | 8 |
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 |