Xonotic
button.qh
Go to the documentation of this file.
1
#pragma once
2
3
#include "../item/button.qh"
4
CLASS
(
XonoticButton
,
Button
)
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
17
ENDCLASS
(
XonoticButton
)
18
19
entity
makeXonoticButton_T
(
string
theText,
vector
theColor,
string
theTooltip);
20
entity
makeXonoticButton
(
string
theText,
vector
theColor);
color
vector color
Definition:
dpextensions.qc:2415
alpha
float alpha
Definition:
items.qc:14
XonoticButton
Definition:
button.qh:4
CLASS
CLASS(Object) Object
Definition:
oo.qh:318
entity
entity() spawn
Button
Definition:
button.qh:6
METHOD
#define METHOD(cname, name, prototype)
Definition:
oo.qh:257
ATTRIB
#define ATTRIB(...)
Definition:
oo.qh:136
vector
vector(float skel, float bonenum) _skel_get_boneabs_hidden
colorC
vector colorC
Definition:
borderimage.qh:25
makeXonoticButton_T
entity makeXonoticButton_T(string theText, vector theColor, string theTooltip)
Definition:
button.qc:3
makeXonoticButton
entity makeXonoticButton(string theText, vector theColor)
Definition:
button.qc:10
ENDCLASS
#define ENDCLASS(cname)
Definition:
oo.qh:269
colorF
vector colorF
Definition:
borderimage.qh:25
menu
xonotic
button.qh
Generated on Thu Mar 17 2022 17:26:27 for Xonotic by
1.8.13