1 #ifndef BIGCOMMANDBUTTON_H
2 #define BIGCOMMANDBUTTON_H
3 #include "commandbutton.qc"
4 CLASS(XonoticBigCommandButton, XonoticCommandButton)
5 METHOD(XonoticBigCommandButton, configureXonoticBigCommandButton, void(entity, string, vector, string, float));
6 ATTRIB(XonoticBigCommandButton, image, string, SKINGFX_BUTTON_BIG)
7 ATTRIB(XonoticBigCommandButton, grayImage, string, SKINGFX_BUTTON_BIG_GRAY)
8 ENDCLASS(XonoticBigCommandButton)
9 entity makeXonoticBigCommandButton(string theText, vector theColor, string theCommand, float closesMenu);
13 entity makeXonoticBigCommandButton(string theText, vector theColor, string theCommand, float theFlags)
16 me = NEW(XonoticBigCommandButton);
17 me.configureXonoticBigCommandButton(me, theText, theColor, theCommand, theFlags);
21 void XonoticBigCommandButton_configureXonoticBigCommandButton(entity me, string theText, vector theColor, string theCommand, float theFlags)
23 me.configureXonoticCommandButton(me, theText, theColor, theCommand, theFlags);