diff options
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; } |