summaryrefslogtreecommitdiff
path: root/src/gui/button.h
diff options
context:
space:
mode:
authorPhilipp Sehmisch <tmw@crushnet.org>2007-02-27 16:39:17 +0000
committerPhilipp Sehmisch <tmw@crushnet.org>2007-02-27 16:39:17 +0000
commit7a6e4d3c87ca4d7cc851af47fd9ebb616168f4c9 (patch)
treea880298777fcbb47a897e45ce6344ddbdf61b210 /src/gui/button.h
parentec72908d291fff37486a70d1624cfcece23b9bf7 (diff)
downloadmana-client-7a6e4d3c87ca4d7cc851af47fd9ebb616168f4c9.tar.gz
mana-client-7a6e4d3c87ca4d7cc851af47fd9ebb616168f4c9.tar.bz2
mana-client-7a6e4d3c87ca4d7cc851af47fd9ebb616168f4c9.tar.xz
mana-client-7a6e4d3c87ca4d7cc851af47fd9ebb616168f4c9.zip
Implementation of chat channels by Trapdoor.
Diffstat (limited to 'src/gui/button.h')
-rw-r--r--src/gui/button.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/button.h b/src/gui/button.h
index 1c2ec41b..eb73e311 100644
--- a/src/gui/button.h
+++ b/src/gui/button.h
@@ -53,9 +53,16 @@ class Button : public gcn::Button {
*/
void draw(gcn::Graphics* graphics);
+ /**
+ * Enable/Disable highlighting
+ */
+ void setLogged(bool enable)
+ { mIsLogged = enable; }
+
private:
static ImageRect button[4]; /**< Button state graphics */
static int mInstances; /**< Number of button instances */
+ bool mIsLogged; /**< Makes the button appear pressed all the time */
};
#endif