1 #include "radiobutton.qh"
3 void RadioButton_configureRadioButton(entity me, string txt, float sz, string gfx, float theGroup, float doAllowDeselect)
5 me.configureCheckBox(me, txt, sz, gfx);
8 me.allowDeselect = doAllowDeselect;
10 void RadioButton_Click(entity me, entity other)
14 if (me.allowDeselect) me.setChecked(me, 0);
19 for (e = me.parent.firstChild; e; e = e.nextSibling)
21 if (e.group == me.group) e.setChecked(e, 0);