METHOD(XonoticCvarList, drawListBoxItem, void(entity, int, vector, bool, bool));
METHOD(XonoticCvarList, resizeNotify, void(entity, vector, vector, vector, vector));
METHOD(XonoticCvarList, keyDown, float(entity, float, float, float));
+ METHOD(XonoticCvarList, showNotify, void(entity));
METHOD(XonoticCvarList, destroy, void(entity));
void XonoticCvarList_configureXonoticCvarList(entity me)
{
me.configureXonoticListBox(me);
-
me.handle = buf_create();
+}
+void XonoticCvarList_showNotify(entity me)
+{
buf_cvarlist(me.handle, "", "_");
me.nItems = buf_getsize(me.handle);
}
#ifdef IMPLEMENTATION
void XonoticCvarsDialog_showNotify(entity me)
{
+ SUPER(XonoticCvarsDialog).showNotify(me);
loadAllCvars(me);
}
void XonoticCvarsDialog_fill(entity me) // in this dialog, use SKINCOLOR_CVARLIST_CONTROLS to color ALL controls