summaryrefslogtreecommitdiff
path: root/src/gui/radiobutton.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/radiobutton.h')
-rw-r--r--src/gui/radiobutton.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/gui/radiobutton.h b/src/gui/radiobutton.h
index 3365e013..343854d2 100644
--- a/src/gui/radiobutton.h
+++ b/src/gui/radiobutton.h
@@ -39,15 +39,21 @@ class RadioButton : public gcn::RadioButton {
bool marked = false);
/**
+ * Destructor.
+ */
+ ~RadioButton();
+
+ /**
* Draws the radiobutton, not the caption.
*/
void drawBox(gcn::Graphics* graphics);
private:
- Image *radioNormal;
- Image *radioChecked;
- Image *radioDisabled;
- Image *radioDisabledChecked;
+ static int instances;
+ static Image *radioNormal;
+ static Image *radioChecked;
+ static Image *radioDisabled;
+ static Image *radioDisabledChecked;
};
#endif /* _TMW_RADIOBUTTON_H */