summaryrefslogtreecommitdiff
path: root/src/guichan/include/guichan/widgets/radiobutton.hpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-09-15 04:22:11 +0300
committerAndrei Karas <akaras@inbox.ru>2011-09-15 04:22:11 +0300
commitc91bc5201596eda73f9df2222d76d9f413426a85 (patch)
treecbdcf7fb76eee35baf7265e5c04da2f13633ab5d /src/guichan/include/guichan/widgets/radiobutton.hpp
parent255b1c29f47ef3b1e7a9b058c56ef72bfa10c5e3 (diff)
downloadmanaverse-c91bc5201596eda73f9df2222d76d9f413426a85.tar.gz
manaverse-c91bc5201596eda73f9df2222d76d9f413426a85.tar.bz2
manaverse-c91bc5201596eda73f9df2222d76d9f413426a85.tar.xz
manaverse-c91bc5201596eda73f9df2222d76d9f413426a85.zip
Remove some diplicated code from embeded guichan.
Diffstat (limited to 'src/guichan/include/guichan/widgets/radiobutton.hpp')
-rw-r--r--src/guichan/include/guichan/widgets/radiobutton.hpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/guichan/include/guichan/widgets/radiobutton.hpp b/src/guichan/include/guichan/widgets/radiobutton.hpp
index 0fb5b4123..e15bf86b3 100644
--- a/src/guichan/include/guichan/widgets/radiobutton.hpp
+++ b/src/guichan/include/guichan/widgets/radiobutton.hpp
@@ -152,11 +152,6 @@ namespace gcn
void adjustSize();
- // Inherited from Widget
-
- virtual void draw(Graphics* graphics);
-
-
// Inherited from KeyListener
virtual void keyPressed(KeyEvent& keyEvent);
@@ -174,7 +169,7 @@ namespace gcn
*
* @param graphics a Graphics object to draw with.
*/
- virtual void drawBox(Graphics *graphics);
+ virtual void drawBox(Graphics *graphics) = 0;
/**
* True if the radio button is selected, false otherwise.