2 void RadioButton_Click(entity me, entity other);
3 CLASS(RadioButton) EXTENDS(CheckBox)
4 METHOD(RadioButton, configureRadioButton, void(entity, string, float, string, float, float))
5 ATTRIB(RadioButton, checked, float, 0)
6 ATTRIB(RadioButton, group, float, 0)
7 ATTRIB(RadioButton, allowDeselect, float, 0)
8 ATTRIB(RadioButton, onClick, void(entity, entity), RadioButton_Click)
13 void RadioButton_configureRadioButton(entity me, string txt, float sz, string gfx, float theGroup, float doAllowDeselect)
15 me.configureCheckBox(me, txt, sz, gfx);
18 me.allowDeselect = doAllowDeselect;
20 void RadioButton_Click(entity me, entity other)
30 for(e = me.parent.firstChild; e; e = e.nextSibling)
32 if(e.group == me.group)