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.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/gui/radiobutton.h b/src/gui/radiobutton.h
index 778bee48..3365e013 100644
--- a/src/gui/radiobutton.h
+++ b/src/gui/radiobutton.h
@@ -25,6 +25,7 @@
#define _TMW_RADIOBUTTON_H
#include "gui.h"
+#include "../resources/image.h"
/*
* Guichan based RadioButton with custom look
@@ -34,12 +35,19 @@ class RadioButton : public gcn::RadioButton {
/*
* Constructor.
*/
- RadioButton(const std::string& caption,const std::string& group, bool marked = false);
+ RadioButton(const std::string& caption,const std::string& group,
+ bool marked = false);
/**
* Draws the radiobutton, not the caption.
*/
void drawBox(gcn::Graphics* graphics);
+
+ private:
+ Image *radioNormal;
+ Image *radioChecked;
+ Image *radioDisabled;
+ Image *radioDisabledChecked;
};
#endif /* _TMW_RADIOBUTTON_H */