summaryrefslogtreecommitdiff
path: root/src/gui/button.h
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2007-02-01 22:35:57 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2007-02-01 22:35:57 +0000
commit63dcf62ec17992b8993dcab5ace8f3af5c7f8277 (patch)
tree4d6b4a7b33dcab0718eea40fa422ceda6f40bbff /src/gui/button.h
parentc920d8e57980dfc17702fd510e3cfa244a58d878 (diff)
downloadmana-63dcf62ec17992b8993dcab5ace8f3af5c7f8277.tar.gz
mana-63dcf62ec17992b8993dcab5ace8f3af5c7f8277.tar.bz2
mana-63dcf62ec17992b8993dcab5ace8f3af5c7f8277.tar.xz
mana-63dcf62ec17992b8993dcab5ace8f3af5c7f8277.zip
Fixed buttons loosing focus.
Diffstat (limited to 'src/gui/button.h')
-rw-r--r--src/gui/button.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/button.h b/src/gui/button.h
index 1c2ec41b..339341ad 100644
--- a/src/gui/button.h
+++ b/src/gui/button.h
@@ -53,6 +53,8 @@ class Button : public gcn::Button {
*/
void draw(gcn::Graphics* graphics);
+ void focusLost() {}
+
private:
static ImageRect button[4]; /**< Button state graphics */
static int mInstances; /**< Number of button instances */