Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
checkbox.qh
Go to the documentation of this file.
1#pragma once
2
3#include "../item/checkbox.qh"
5 METHOD(XonoticCheckBox, configureXonoticCheckBox, void(entity, float, float, string, string, string));
7 ATTRIB(XonoticCheckBox, fontSize, float, SKINFONTSIZE_NORMAL);
8 ATTRIB(XonoticCheckBox, image, string, SKINGFX_CHECKBOX);
11
12 ATTRIB(XonoticCheckBox, color, vector, SKINCOLOR_CHECKBOX_N);
13 ATTRIB(XonoticCheckBox, colorC, vector, SKINCOLOR_CHECKBOX_C);
14 ATTRIB(XonoticCheckBox, colorF, vector, SKINCOLOR_CHECKBOX_F);
15 ATTRIB(XonoticCheckBox, colorD, vector, SKINCOLOR_CHECKBOX_D);
16
21
22 ATTRIB(XonoticCheckBox, alpha, float, SKINALPHA_TEXT);
23 ATTRIB(XonoticCheckBox, disabledAlpha, float, SKINALPHA_DISABLED);
24 ATTRIB(XonoticCheckBox, linkedCheckBox, entity);
26entity makeXonoticCheckBox_T(float, string, string, string);
27entity makeXonoticCheckBox(float, string, string);
28entity makeXonoticCheckBoxEx_T(float, float, string, string, string);
29entity makeXonoticCheckBoxEx(float, float, string, string);
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
virtual void configureXonoticCheckBox()
ATTRIB(XonoticCheckBox, controlledCvar, string)
virtual void setChecked()
float disabledAlpha
Definition checkbox.qh:23
virtual void loadCvars()
virtual void saveCvars()
string controlledCvar
Definition menu.qc:16
#define CLASS(...)
Definition oo.qh:145
#define ENDCLASS(cname)
Definition oo.qh:281
#define METHOD(cname, name, prototype)
Definition oo.qh:269
vector
Definition self.qh:92
entity makeXonoticCheckBox_T(float, string, string, string)
Definition checkbox.qc:3
entity makeXonoticCheckBoxEx_T(float, float, string, string, string)
Definition checkbox.qc:33
entity makeXonoticCheckBoxEx(float, float, string, string)
Definition checkbox.qc:40
entity makeXonoticCheckBox(float, string, string)
Definition checkbox.qc:28