summaryrefslogtreecommitdiff
path: root/src/gui/button.h
diff options
context:
space:
mode:
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);