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)
13 if (me.allowDeselect) { me.setChecked(me, 0); }
16 for (e = me.parent.firstChild; e; e = e.nextSibling) {
18 if (e.group == me.group) { e.setChecked(e, 0); } }