Xonotic
button.qh
Go to the documentation of this file.
1 #pragma once
2 
3 #include "../item/button.qh"
5  METHOD(XonoticButton, configureXonoticButton, void(entity, string, vector, string));
6  ATTRIB(XonoticButton, fontSize, float, SKINFONTSIZE_NORMAL);
7  ATTRIB(XonoticButton, image, string, SKINGFX_BUTTON);
8  ATTRIB(XonoticButton, grayImage, string, SKINGFX_BUTTON_GRAY);
9  ATTRIB(XonoticButton, color, vector, SKINCOLOR_BUTTON_N);
10  ATTRIB(XonoticButton, colorC, vector, SKINCOLOR_BUTTON_C);
11  ATTRIB(XonoticButton, colorF, vector, SKINCOLOR_BUTTON_F);
12  ATTRIB(XonoticButton, colorD, vector, SKINCOLOR_BUTTON_D);
13  ATTRIB(XonoticButton, alpha, float, SKINALPHA_TEXT);
14  ATTRIB(XonoticButton, disabledAlpha, float, SKINALPHA_DISABLED);
15  ATTRIB(XonoticButton, marginLeft, float, SKINMARGIN_BUTTON); // chars
16  ATTRIB(XonoticButton, marginRight, float, SKINMARGIN_BUTTON); // chars
18 
19 entity makeXonoticButton_T(string theText, vector theColor, string theTooltip);
20 entity makeXonoticButton(string theText, vector theColor);
vector color
float alpha
Definition: items.qc:14
CLASS(Object) Object
Definition: oo.qh:318
entity() spawn
Definition: button.qh:6
#define METHOD(cname, name, prototype)
Definition: oo.qh:257
#define ATTRIB(...)
Definition: oo.qh:136
vector(float skel, float bonenum) _skel_get_boneabs_hidden
vector colorC
Definition: borderimage.qh:25
#define ENDCLASS(cname)
Definition: oo.qh:269
vector colorF
Definition: borderimage.qh:25