summaryrefslogtreecommitdiff
path: root/src/gui/button.h
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2006-03-09 02:02:57 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2006-03-09 02:02:57 +0000
commit81cf85e9ec1d37dc6e8dd9883f42bb50dace9135 (patch)
tree585415bbb85c48fc8fb83cd5f54e1cfe8e988ee7 /src/gui/button.h
parent78ab0ec914d3c5a97f162905afb3dede53f8b9ed (diff)
downloadMana-81cf85e9ec1d37dc6e8dd9883f42bb50dace9135.tar.gz
Mana-81cf85e9ec1d37dc6e8dd9883f42bb50dace9135.tar.bz2
Mana-81cf85e9ec1d37dc6e8dd9883f42bb50dace9135.tar.xz
Mana-81cf85e9ec1d37dc6e8dd9883f42bb50dace9135.zip
Made the Button ctor accept eventId and action listener.
Diffstat (limited to 'src/gui/button.h')
-rw-r--r--src/gui/button.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/button.h b/src/gui/button.h
index 86467769..36d8f7a1 100644
--- a/src/gui/button.h
+++ b/src/gui/button.h
@@ -40,7 +40,8 @@ class Button : public gcn::Button {
/**
* Constructor, sets the caption of the button to the given string.
*/
- Button(const std::string& caption);
+ Button(const std::string& caption, const std::string &eventId,
+ gcn::ActionListener *listener);
/**
* Destructor.