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.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gui/button.h b/src/gui/button.h
index b7d48929..0c45b133 100644
--- a/src/gui/button.h
+++ b/src/gui/button.h
@@ -31,10 +31,14 @@
*/
class Button : public gcn::Button {
public:
+ /**
+ * Constructor, sets the caption of the button to the given string.
+ */
Button(const std::string& caption);
- // Inherited from Widget
-
+ /**
+ * Draws the button.
+ */
void draw(gcn::Graphics* graphics);
};