]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/menu/item/radiobutton.qc
Merge branch 'master' into Lyberta/StandaloneOverkillWeapons
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / item / radiobutton.qc
index e707f773df2cf8a01c483342a5e1599c457e347f..00dcb680ad0d7e652000719d8312e02eacdaab95 100644 (file)
@@ -1,18 +1,5 @@
 #include "radiobutton.qh"
-#ifndef ITEM_RADIOBUTTON_H
-       #define ITEM_RADIOBUTTON_H
-       #include "checkbox.qc"
-       void RadioButton_Click(entity me, entity other);
-       CLASS(RadioButton, CheckBox)
-               METHOD(RadioButton, configureRadioButton, void(entity, string, float, string, float, float));
-               ATTRIB(RadioButton, checked, float, 0)
-               ATTRIB(RadioButton, group, float, 0)
-               ATTRIB(RadioButton, allowDeselect, float, 0)
-               ATTRIB(RadioButton, onClick, void(entity, entity), RadioButton_Click)
-       ENDCLASS(RadioButton)
-#endif
 
-#ifdef IMPLEMENTATION
        void RadioButton_configureRadioButton(entity me, string txt, float sz, string gfx, float theGroup, float doAllowDeselect)
        {
                me.configureCheckBox(me, txt, sz, gfx);
@@ -35,4 +22,3 @@
                        me.setChecked(me, 1);
                }
        }
-#endif