diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2004-12-17 23:21:20 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2004-12-17 23:21:20 +0000 |
commit | 11e9c220d8b989d9ee9abb27c8d0acc41fe3d7f4 (patch) | |
tree | 304bebd799fcb1052f1b452e8f9da255cd718242 /src/gui/button.cpp | |
parent | bc4c1e72374a44595e8b1ea0cd16e182139b2cb7 (diff) | |
download | mana-client-11e9c220d8b989d9ee9abb27c8d0acc41fe3d7f4.tar.gz mana-client-11e9c220d8b989d9ee9abb27c8d0acc41fe3d7f4.tar.bz2 mana-client-11e9c220d8b989d9ee9abb27c8d0acc41fe3d7f4.tar.xz mana-client-11e9c220d8b989d9ee9abb27c8d0acc41fe3d7f4.zip |
Made some fixes to the window widget and made server selection use it too.
WARNING: From now on we need Guichan 0.2.0, the 0.1.0 version will NOT work!
Diffstat (limited to 'src/gui/button.cpp')
-rw-r--r-- | src/gui/button.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/button.cpp b/src/gui/button.cpp index 02a77984..030dd9de 100644 --- a/src/gui/button.cpp +++ b/src/gui/button.cpp @@ -26,6 +26,7 @@ Button::Button(const std::string& caption): { mouseDown = false; keyDown = false; + setBorderSize(0); } void Button::draw(gcn::Graphics* graphics) { @@ -35,6 +36,8 @@ void Button::draw(gcn::Graphics* graphics) { getAbsolutePosition(x, y); + //printf("draw - %d,%d\n", x, y); + if (false /*disabled*/) { mode = 3; } |