diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-01-14 13:50:25 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-01-14 13:50:25 +0000 |
commit | 976b4da70227ab97607c51be05a20f4ecfca9325 (patch) | |
tree | d77bfb869b6337f1747b34e8f053f3acddbc4b54 /src/gui/radiobutton.h | |
parent | 5a1007fa3e827c03bb86db71cb26dfd4c485f28d (diff) | |
download | mana-976b4da70227ab97607c51be05a20f4ecfca9325.tar.gz mana-976b4da70227ab97607c51be05a20f4ecfca9325.tar.bz2 mana-976b4da70227ab97607c51be05a20f4ecfca9325.tar.xz mana-976b4da70227ab97607c51be05a20f4ecfca9325.zip |
Removed 9 cases of load_bitmap.
Diffstat (limited to 'src/gui/radiobutton.h')
-rw-r--r-- | src/gui/radiobutton.h | 10 |
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 */ |