3 entity makeXonoticButton_T(string theText, vector theColor, string theTooltip)
6 me = NEW(XonoticButton);
7 me.configureXonoticButton(me, theText, theColor, theTooltip);
10 entity makeXonoticButton(string theText, vector theColor)
12 return makeXonoticButton_T(theText, theColor, string_null);
15 void XonoticButton_configureXonoticButton(entity me, string theText, vector theColor, string theTooltip)
17 if(theColor == '0 0 0')
19 me.configureButton(me, theText, me.fontSize, me.image);
23 me.configureButton(me, theText, me.fontSize, me.grayImage);
28 setZonedTooltip(me, theTooltip, string_null);