1 #include "bigcommandbutton.qh"
2 #ifndef BIGCOMMANDBUTTON_H
3 #define BIGCOMMANDBUTTON_H
4 #include "commandbutton.qc"
5 CLASS(XonoticBigCommandButton, XonoticCommandButton)
6 METHOD(XonoticBigCommandButton, configureXonoticBigCommandButton, void(entity, string, vector, string, float, string));
7 ATTRIB(XonoticBigCommandButton, image, string, SKINGFX_BUTTON_BIG)
8 ATTRIB(XonoticBigCommandButton, grayImage, string, SKINGFX_BUTTON_BIG_GRAY)
9 ENDCLASS(XonoticBigCommandButton)
10 entity makeXonoticBigCommandButton_T(string theText, vector theColor, string theCommand, float closesMenu, string theTooltip);
11 entity makeXonoticBigCommandButton(string theText, vector theColor, string theCommand, float closesMenu);
15 entity makeXonoticBigCommandButton_T(string theText, vector theColor, string theCommand, float theFlags, string theTooltip)
18 me = NEW(XonoticBigCommandButton);
19 me.configureXonoticBigCommandButton(me, theText, theColor, theCommand, theFlags, theTooltip);
22 entity makeXonoticBigCommandButton(string theText, vector theColor, string theCommand, float theFlags)
24 return makeXonoticBigCommandButton_T(theText, theColor, theCommand, theFlags, string_null);
27 void XonoticBigCommandButton_configureXonoticBigCommandButton(entity me, string theText, vector theColor, string theCommand, float theFlags, string theTooltip)
29 me.configureXonoticCommandButton(me, theText, theColor, theCommand, theFlags, theTooltip);