From 11e9c220d8b989d9ee9abb27c8d0acc41fe3d7f4 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Fri, 17 Dec 2004 23:21:20 +0000 Subject: 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! --- src/gui/button.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gui/button.cpp') 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; } -- cgit v1.2.3-70-g09d2