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, 7 insertions, 1 deletions
diff --git a/src/gui/button.h b/src/gui/button.h
index a9ddd3fa..c3be49f2 100644
--- a/src/gui/button.h
+++ b/src/gui/button.h
@@ -41,12 +41,18 @@ class Button : public gcn::Button {
Button(const std::string& caption);
/**
+ * Destructor.
+ */
+ ~Button();
+
+ /**
* Draws the button.
*/
void draw(gcn::Graphics* graphics);
private:
- ImageRect button[4];
+ static ImageRect button[4]; /**< Button state graphics */
+ static int instances; /**< Number of button instances */
};
#endif