Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
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);
entity
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
Button
Definition
button.qh:6
Button::ATTRIB
ATTRIB(Button, onClick, void(entity, entity))
XonoticButton
Definition
button.qh:4
XonoticButton::colorF
vector colorF
Definition
button.qh:11
XonoticButton::disabledAlpha
float disabledAlpha
Definition
button.qh:14
XonoticButton::image
string image
Definition
button.qh:7
XonoticButton::grayImage
string grayImage
Definition
button.qh:8
XonoticButton::color
vector color
Definition
button.qh:9
XonoticButton::marginRight
float marginRight
Definition
button.qh:16
XonoticButton::alpha
float alpha
Definition
button.qh:13
XonoticButton::marginLeft
float marginLeft
Definition
button.qh:15
XonoticButton::colorD
vector colorD
Definition
button.qh:12
XonoticButton::fontSize
float fontSize
Definition
button.qh:6
XonoticButton::colorC
vector colorC
Definition
button.qh:10
XonoticButton::configureXonoticButton
virtual void configureXonoticButton()
button.qh
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
CLASS
#define CLASS(...)
Definition
oo.qh:145
ENDCLASS
#define ENDCLASS(cname)
Definition
oo.qh:281
METHOD
#define METHOD(cname, name, prototype)
Definition
oo.qh:269
vector
vector
Definition
self.qh:92
menu
xonotic
button.qh
Generated on
for Xonotic QuakeC by
1.14.0