summaryrefslogtreecommitdiff
path: root/src/gui/button.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2004-12-23 14:36:51 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2004-12-23 14:36:51 +0000
commit3a9ae4770fcfec80c660fd9351ecea8c3c9bc913 (patch)
tree2f084acc77ac30724641fda88989fbb003b352e0 /src/gui/button.h
parentdb4fd250723ad6121059a71f1cac0e87eb91e695 (diff)
downloadmana-3a9ae4770fcfec80c660fd9351ecea8c3c9bc913.tar.gz
mana-3a9ae4770fcfec80c660fd9351ecea8c3c9bc913.tar.bz2
mana-3a9ae4770fcfec80c660fd9351ecea8c3c9bc913.tar.xz
mana-3a9ae4770fcfec80c660fd9351ecea8c3c9bc913.zip
Skinned our beautiful text field back!
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);
};