summaryrefslogtreecommitdiff
path: root/src/gui/button.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2007-09-27 14:54:09 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2007-09-27 14:54:09 +0000
commit285da0d05eb2e6b680a8dfc497cf4ecab75b7aa4 (patch)
tree0a4e4169ffada0fbdc25fd91822a8c0fe678571c /src/gui/button.h
parentc24856707233ceb3995e43f8f7da63e65999df1e (diff)
downloadmana-285da0d05eb2e6b680a8dfc497cf4ecab75b7aa4.tar.gz
mana-285da0d05eb2e6b680a8dfc497cf4ecab75b7aa4.tar.bz2
mana-285da0d05eb2e6b680a8dfc497cf4ecab75b7aa4.tar.xz
mana-285da0d05eb2e6b680a8dfc497cf4ecab75b7aa4.zip
Merged another bunch of changes from trunk to 0.0 to reduce the difference.
Diffstat (limited to 'src/gui/button.h')
-rw-r--r--src/gui/button.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gui/button.h b/src/gui/button.h
index 68831d5a..d12173b2 100644
--- a/src/gui/button.h
+++ b/src/gui/button.h
@@ -37,9 +37,14 @@ class ImageRect;
*/
class Button : public gcn::Button {
public:
+ /**
+ * Default constructor.
+ */
Button();
+
/**
- * Constructor, sets the caption of the button to the given string.
+ * Constructor, sets the caption of the button to the given string and
+ * adds the given action listener.
*/
Button(const std::string& caption, const std::string &actionEventId,
gcn::ActionListener *listener);