#ifdef INTERFACE
-CLASS(XonoticCheckBoxString) EXTENDS(CheckBox)
+CLASS(XonoticCheckBoxString, CheckBox)
METHOD(XonoticCheckBoxString, configureXonoticCheckBoxString, void(entity, string, string, string, string))
METHOD(XonoticCheckBoxString, setChecked, void(entity, float))
ATTRIB(XonoticCheckBoxString, fontSize, float, SKINFONTSIZE_NORMAL)
entity makeXonoticCheckBoxString(string theYesValue, string theNoValue, string theCvar, string theText)
{
entity me;
- me = spawnXonoticCheckBoxString();
+ me = NEW(XonoticCheckBoxString);
me.configureXonoticCheckBoxString(me, theYesValue, theNoValue, theCvar, theText);
return me;
}