void configureNexuizButtonNexuizButton(entity me, string theText, vector theColor) { if(theColor == '0 0 0') { me.configureButton(me, theText, me.fontSize, me.image); } else { me.configureButton(me, theText, me.fontSize, me.grayImage); me.color = theColor; me.colorC = theColor; me.colorF = theColor; } me.tooltip = getZonedTooltipForIdentifier(strcat(currentDialog.classname, "/", me.text)); }
void configureCheckBoxCheckBox(entity me, string txt, float sz, string gfx) { me.configureButton(me, txt, sz, gfx); me.align = 0; }