summaryrefslogtreecommitdiff
path: root/src/gui/button.h
diff options
context:
space:
mode:
authorJoshua Langley <joshlangley[at]optusnet.com.au>2007-07-16 15:23:34 +0000
committerJoshua Langley <joshlangley[at]optusnet.com.au>2007-07-16 15:23:34 +0000
commit71532a23200b246f63ed1e0dc3d563bd1184b593 (patch)
tree2ce28dd04573bb40b31e367d7d980b32f113edab /src/gui/button.h
parentbb5f430e6f7e1471aefc1de22e423e6015d0236c (diff)
downloadmana-71532a23200b246f63ed1e0dc3d563bd1184b593.tar.gz
mana-71532a23200b246f63ed1e0dc3d563bd1184b593.tar.bz2
mana-71532a23200b246f63ed1e0dc3d563bd1184b593.tar.xz
mana-71532a23200b246f63ed1e0dc3d563bd1184b593.zip
Diffstat (limited to 'src/gui/button.h')
-rw-r--r--src/gui/button.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/button.h b/src/gui/button.h
index eb73e311..68831d5a 100644
--- a/src/gui/button.h
+++ b/src/gui/button.h
@@ -37,6 +37,7 @@ class ImageRect;
*/
class Button : public gcn::Button {
public:
+ Button();
/**
* Constructor, sets the caption of the button to the given string.
*/
@@ -60,6 +61,8 @@ class Button : public gcn::Button {
{ mIsLogged = enable; }
private:
+ void init();
+
static ImageRect button[4]; /**< Button state graphics */
static int mInstances; /**< Number of button instances */
bool mIsLogged; /**< Makes the button appear pressed all the time */