#ifdef INTERFACE
-CLASS(XonoticListBox) EXTENDS(ListBox)
+CLASS(XonoticListBox, ListBox)
METHOD(XonoticListBox, configureXonoticListBox, void(entity))
ATTRIB(XonoticListBox, fontSize, float, SKINFONTSIZE_NORMAL)
ATTRIB(XonoticListBox, scrollbarWidth, float, SKINWIDTH_SCROLLBAR)
entity makeXonoticListBox()
{
entity me;
- me = spawnXonoticListBox();
+ me = NEW(XonoticListBox);
me.configureXonoticListBox(me);
return me;
}