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, string));
6 ATTRIB(XonoticBigCommandButton, image, string, SKINGFX_BUTTON_BIG)
7 ATTRIB(XonoticBigCommandButton, grayImage, string, SKINGFX_BUTTON_BIG_GRAY)
8 ENDCLASS(XonoticBigCommandButton)
9 entity makeXonoticBigCommandButton_T(string theText, vector theColor, string theCommand, float closesMenu, string theTooltip);
10 entity makeXonoticBigCommandButton(string theText, vector theColor, string theCommand, float closesMenu);
14 entity makeXonoticBigCommandButton_T(string theText, vector theColor, string theCommand, float theFlags, string theTooltip)
17 me = NEW(XonoticBigCommandButton);
18 me.configureXonoticBigCommandButton(me, theText, theColor, theCommand, theFlags, theTooltip);
21 entity makeXonoticBigCommandButton(string theText, vector theColor, string theCommand, float theFlags)
23 return makeXonoticBigCommandButton_T(theText, theColor, theCommand, theFlags, string_null);
26 void XonoticBigCommandButton_configureXonoticBigCommandButton(entity me, string theText, vector theColor, string theCommand, float theFlags, string theTooltip)
28 me.configureXonoticCommandButton(me, theText, theColor, theCommand, theFlags, theTooltip);