Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
radiobutton.qh
Go to the documentation of this file.
1
#pragma once
2
3
#include "
checkbox.qh
"
4
void
RadioButton_Click
(
entity
me,
entity
other
);
5
CLASS
(
RadioButton
,
CheckBox
)
6
METHOD
(
RadioButton
,
configureRadioButton
,
void
(
entity
,
string
,
float
,
string
,
float
,
float
));
7
ATTRIB
(
RadioButton
,
checked
,
bool
,
false
);
8
ATTRIB
(
RadioButton
,
group
,
float
, 0);
9
ATTRIB
(
RadioButton
,
allowDeselect
,
float
, 0);
10
ATTRIB
(
RadioButton
, onClick,
void
(
entity
,
entity
),
RadioButton_Click
);
11
ENDCLASS
(
RadioButton
)
entity
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
Button::ATTRIB
ATTRIB(Button, onClick, void(entity, entity))
CheckBox
Definition
checkbox.qh:4
RadioButton
Definition
radiobutton.qh:5
RadioButton::group
float group
Definition
radiobutton.qh:8
RadioButton::configureRadioButton
virtual void configureRadioButton()
RadioButton::allowDeselect
float allowDeselect
Definition
radiobutton.qh:9
RadioButton::checked
bool checked
Definition
radiobutton.qh:7
other
entity other
Definition
csprogsdefs.qc:14
false
#define false
Definition
csprogsdefs.qh:6
checkbox.qh
RadioButton_Click
void RadioButton_Click(entity me, entity other)
Definition
radiobutton.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
menu
item
radiobutton.qh
Generated on
for Xonotic QuakeC by
1.14.0