Xonotic
XonoticCheckBox Class Reference
+ Inheritance diagram for XonoticCheckBox:
+ Collaboration diagram for XonoticCheckBox:

Public Member Functions

 ATTRIB (Label, text, string)
 
 ATTRIB (Label, currentText, string)
 
 ATTRIB (Button, onClick, void(entity, entity))
 
 ATTRIB (XonoticCheckBox, controlledCvar, string)
 
 ATTRIB (Button, onClickEntity, entity)
 
 ATTRIB (Button, src, string)
 
 ATTRIB (Button, srcSuffix, string)
 
 ATTRIB (Button, src2, string)
 
 ATTRIB (XonoticCheckBox, linkedCheckBox, entity)
 
 ATTRIB (MenuItem, parent, entity)
 
 ATTRIB (Button, applyButton, entity)
 
 ATTRIB (Label, textEntity, entity)
 
 ATTRIB (MenuItem, tooltip, string)
 
virtual void Button ::configureButton ()
 
virtual void Button ::draw ()
 
virtual void Button ::keyDown ()
 
virtual void Button ::mouseDrag ()
 
virtual void Button ::mousePress ()
 
virtual void Button ::mouseRelease ()
 
virtual void Button ::playClickSound ()
 
virtual void Button ::resizeNotify ()
 
virtual void Button ::showNotify ()
 
virtual void CheckBox ::configureCheckBox ()
 
virtual void CheckBox ::draw ()
 
virtual void CheckBox ::playClickSound ()
 
virtual void CheckBox ::setChecked ()
 
virtual void CheckBox ::toString ()
 
void CheckBox_Click (entity me, entity other)
 
virtual void Label ::configureLabel ()
 
virtual void Label ::draw ()
 
virtual void Label ::recalcPositionWithText ()
 
virtual void Label ::resizeNotify ()
 
virtual void Label ::setText ()
 
virtual void Label ::toString ()
 
virtual void MenuItem ::destroy ()
 
virtual void MenuItem ::draw ()
 
virtual void MenuItem ::focusEnter ()
 
virtual void MenuItem ::focusLeave ()
 
virtual void MenuItem ::hideNotify ()
 
virtual void MenuItem ::keyDown ()
 
virtual void MenuItem ::keyUp ()
 
virtual void MenuItem ::mouseDrag ()
 
virtual void MenuItem ::mouseMove ()
 
virtual void MenuItem ::mousePress ()
 
virtual void MenuItem ::mouseRelease ()
 
virtual void MenuItem ::relinquishFocus ()
 
virtual void MenuItem ::resizeNotify ()
 
virtual void MenuItem ::showNotify ()
 
virtual void MenuItem ::toString ()
 
 void (entity, entity) onClick
 
virtual void XonoticCheckBox ::configureXonoticCheckBox ()
 
virtual void XonoticCheckBox ::loadCvars ()
 
virtual void XonoticCheckBox ::saveCvars ()
 
virtual void XonoticCheckBox ::setChecked ()
 

Public Attributes

float align = 0.5
 
float allowColors = 0
 
float allowCut = 0
 
float allowFocusSound = 1
 
float allowWrap = 0
 
float alpha = SKINALPHA_TEXT
 
float alpha2 = 1
 
float buttonLeftOfText = 0
 
float checked = 0
 
float clickTime = 0
 
vector color = SKINCOLOR_CHECKBOX_N
 
vector color2 = '1 1 1'
 
vector colorC = SKINCOLOR_CHECKBOX_C
 
vector colorD = SKINCOLOR_CHECKBOX_D
 
vector colorF = SKINCOLOR_CHECKBOX_F
 
vector colorL = SKINCOLOR_TEXT
 
float condenseFactor = 1
 
float disabled = 0
 
float disabledAlpha = SKINALPHA_DISABLED
 
bool disableOnClick = false
 
float focusable = 1
 
float focused = 0
 
float fontSize = SKINFONTSIZE_NORMAL
 
float forcePressed = 0
 
string image = SKINGFX_CHECKBOX
 
float isBold = 0
 
float keepspaceLeft = 0
 
float keepspaceRight = 0
 
float marginLeft = 0
 
float marginRight = 0
 
float noValue = 0
 
vector origin = '0 0 0'
 
float overrideCondenseFactor = 0
 
vector overrideRealOrigin = '0 0 0'
 
float preferredFocusPriority = 0
 
float pressed = 0
 
vector realFontSize = '0 0 0'
 
vector realOrigin = '0 0 0'
 
float recalcPos = 0
 
float sendCvars = 0
 
vector size = '0 0 0'
 
float src2scale = 1
 
float srcMulti = 0
 
float useDownAsChecked = 0
 
float yesValue = 1
 

Detailed Description

Definition at line 4 of file checkbox.qh.

Member Function Documentation

◆ ATTRIB() [1/13]

Label::ATTRIB ( Label  ,
text  ,
string   
)
inherited

◆ ATTRIB() [2/13]

Label::ATTRIB ( Label  ,
currentText  ,
string   
)
inherited

◆ ATTRIB() [3/13]

Button::ATTRIB ( Button  ,
onClick  ,
void(entity, entity  
)
inherited

◆ ATTRIB() [4/13]

XonoticCheckBox::ATTRIB ( XonoticCheckBox  ,
controlledCvar  ,
string   
)

◆ ATTRIB() [5/13]

Button::ATTRIB ( Button  ,
onClickEntity  ,
entity   
)
inherited

◆ ATTRIB() [6/13]

Button::ATTRIB ( Button  ,
src  ,
string   
)
inherited

◆ ATTRIB() [7/13]

Button::ATTRIB ( Button  ,
srcSuffix  ,
string   
)
inherited

◆ ATTRIB() [8/13]

Button::ATTRIB ( Button  ,
src2  ,
string   
)
inherited

◆ ATTRIB() [9/13]

XonoticCheckBox::ATTRIB ( XonoticCheckBox  ,
linkedCheckBox  ,
entity   
)

◆ ATTRIB() [10/13]

MenuItem::ATTRIB ( MenuItem  ,
parent  ,
entity   
)
inherited

◆ ATTRIB() [11/13]

Button::ATTRIB ( Button  ,
applyButton  ,
entity   
)
inherited

◆ ATTRIB() [12/13]

Label::ATTRIB ( Label  ,
textEntity  ,
entity   
)
inherited

◆ ATTRIB() [13/13]

MenuItem::ATTRIB ( MenuItem  ,
tooltip  ,
string   
)
inherited

◆ Button ::configureButton()

virtual void Button::Button ::configureButton ( )
virtualinherited

◆ Button ::draw()

virtual void Button::Button ::draw ( )
virtualinherited

◆ Button ::keyDown()

virtual void Button::Button ::keyDown ( )
virtualinherited

◆ Button ::mouseDrag()

virtual void Button::Button ::mouseDrag ( )
virtualinherited

◆ Button ::mousePress()

virtual void Button::Button ::mousePress ( )
virtualinherited

◆ Button ::mouseRelease()

virtual void Button::Button ::mouseRelease ( )
virtualinherited

◆ Button ::playClickSound()

virtual void Button::Button ::playClickSound ( )
virtualinherited

◆ Button ::resizeNotify()

virtual void Button::Button ::resizeNotify ( )
virtualinherited

◆ Button ::showNotify()

virtual void Button::Button ::showNotify ( )
virtualinherited

◆ CheckBox ::configureCheckBox()

virtual void CheckBox::CheckBox ::configureCheckBox ( )
virtualinherited

◆ CheckBox ::draw()

virtual void CheckBox::CheckBox ::draw ( )
virtualinherited

◆ CheckBox ::playClickSound()

virtual void CheckBox::CheckBox ::playClickSound ( )
virtualinherited

◆ CheckBox ::setChecked()

virtual void CheckBox::CheckBox ::setChecked ( )
virtualinherited

◆ CheckBox ::toString()

virtual void CheckBox::CheckBox ::toString ( )
virtualinherited

◆ CheckBox_Click()

void CheckBox::CheckBox_Click ( entity  me,
entity  other 
)
inherited

◆ Label ::configureLabel()

virtual void Label::Label ::configureLabel ( )
virtualinherited

◆ Label ::draw()

virtual void Label::Label ::draw ( )
virtualinherited

◆ Label ::recalcPositionWithText()

virtual void Label::Label ::recalcPositionWithText ( )
virtualinherited

◆ Label ::resizeNotify()

virtual void Label::Label ::resizeNotify ( )
virtualinherited

◆ Label ::setText()

virtual void Label::Label ::setText ( )
virtualinherited

◆ Label ::toString()

virtual void Label::Label ::toString ( )
virtualinherited

◆ MenuItem ::destroy()

virtual void MenuItem::MenuItem ::destroy ( )
virtualinherited

◆ MenuItem ::draw()

virtual void MenuItem::MenuItem ::draw ( )
virtualinherited

◆ MenuItem ::focusEnter()

virtual void MenuItem::MenuItem ::focusEnter ( )
virtualinherited

◆ MenuItem ::focusLeave()

virtual void MenuItem::MenuItem ::focusLeave ( )
virtualinherited

◆ MenuItem ::hideNotify()

virtual void MenuItem::MenuItem ::hideNotify ( )
virtualinherited

◆ MenuItem ::keyDown()

virtual void MenuItem::MenuItem ::keyDown ( )
virtualinherited

◆ MenuItem ::keyUp()

virtual void MenuItem::MenuItem ::keyUp ( )
virtualinherited

◆ MenuItem ::mouseDrag()

virtual void MenuItem::MenuItem ::mouseDrag ( )
virtualinherited

◆ MenuItem ::mouseMove()

virtual void MenuItem::MenuItem ::mouseMove ( )
virtualinherited

◆ MenuItem ::mousePress()

virtual void MenuItem::MenuItem ::mousePress ( )
virtualinherited

◆ MenuItem ::mouseRelease()

virtual void MenuItem::MenuItem ::mouseRelease ( )
virtualinherited

◆ MenuItem ::relinquishFocus()

virtual void MenuItem::MenuItem ::relinquishFocus ( )
virtualinherited

◆ MenuItem ::resizeNotify()

virtual void MenuItem::MenuItem ::resizeNotify ( )
virtualinherited

◆ MenuItem ::showNotify()

virtual void MenuItem::MenuItem ::showNotify ( )
virtualinherited

◆ MenuItem ::toString()

virtual void MenuItem::MenuItem ::toString ( )
virtualinherited

◆ void()

CheckBox::void ( entity  ,
entity   
)
inherited

◆ XonoticCheckBox ::configureXonoticCheckBox()

virtual void XonoticCheckBox::XonoticCheckBox ::configureXonoticCheckBox ( )
virtual

◆ XonoticCheckBox ::loadCvars()

virtual void XonoticCheckBox::XonoticCheckBox ::loadCvars ( )
virtual

◆ XonoticCheckBox ::saveCvars()

virtual void XonoticCheckBox::XonoticCheckBox ::saveCvars ( )
virtual

◆ XonoticCheckBox ::setChecked()

virtual void XonoticCheckBox::XonoticCheckBox ::setChecked ( )
virtual

Member Data Documentation

◆ align

float Label::align = 0.5
inherited

Definition at line 15 of file label.qh.

◆ allowColors

float Label::allowColors = 0
inherited

Definition at line 17 of file label.qh.

◆ allowCut

float Label::allowCut = 0
inherited

Definition at line 16 of file label.qh.

◆ allowFocusSound

float Button::allowFocusSound = 1
inherited

Definition at line 25 of file button.qh.

◆ allowWrap

float Label::allowWrap = 0
inherited

Definition at line 29 of file label.qh.

◆ alpha

float XonoticCheckBox::alpha = SKINALPHA_TEXT

Definition at line 22 of file checkbox.qh.

◆ alpha2

float Button::alpha2 = 1
inherited

Definition at line 38 of file button.qh.

◆ buttonLeftOfText

float Button::buttonLeftOfText = 0
inherited

Definition at line 23 of file button.qh.

◆ checked

float CheckBox::checked = 0
inherited

Definition at line 11 of file checkbox.qh.

◆ clickTime

float Button::clickTime = 0
inherited

Definition at line 27 of file button.qh.

◆ color

vector XonoticCheckBox::color = SKINCOLOR_CHECKBOX_N

Definition at line 12 of file checkbox.qh.

◆ color2

vector Button::color2 = '1 1 1'
inherited

Definition at line 37 of file button.qh.

◆ colorC

vector XonoticCheckBox::colorC = SKINCOLOR_CHECKBOX_C

Definition at line 13 of file checkbox.qh.

◆ colorD

vector XonoticCheckBox::colorD = SKINCOLOR_CHECKBOX_D

Definition at line 15 of file checkbox.qh.

◆ colorF

vector XonoticCheckBox::colorF = SKINCOLOR_CHECKBOX_F

Definition at line 14 of file checkbox.qh.

◆ colorL

vector Label::colorL = SKINCOLOR_TEXT
inherited

Definition at line 25 of file label.qh.

◆ condenseFactor

float Label::condenseFactor = 1
inherited

Definition at line 31 of file label.qh.

◆ disabled

float CheckBox::disabled = 0
inherited

Definition at line 15 of file checkbox.qh.

◆ disabledAlpha

float XonoticCheckBox::disabledAlpha = SKINALPHA_DISABLED

Definition at line 23 of file checkbox.qh.

◆ disableOnClick

bool Button::disableOnClick = false
inherited

Definition at line 29 of file button.qh.

◆ focusable

float Button::focusable = 1
inherited

Definition at line 24 of file button.qh.

◆ focused

float MenuItem::focused = 0
inherited

Definition at line 24 of file item.qh.

◆ fontSize

float XonoticCheckBox::fontSize = SKINFONTSIZE_NORMAL

Definition at line 7 of file checkbox.qh.

◆ forcePressed

float Button::forcePressed = 0
inherited

Definition at line 32 of file button.qh.

◆ image

string XonoticCheckBox::image = SKINGFX_CHECKBOX

Definition at line 8 of file checkbox.qh.

◆ isBold

float Label::isBold = 0
inherited

Definition at line 11 of file label.qh.

◆ keepspaceLeft

float Label::keepspaceLeft = 0
inherited

Definition at line 18 of file label.qh.

◆ keepspaceRight

float Label::keepspaceRight = 0
inherited

Definition at line 19 of file label.qh.

◆ marginLeft

float Label::marginLeft = 0
inherited

Definition at line 20 of file label.qh.

◆ marginRight

float Label::marginRight = 0
inherited

Definition at line 21 of file label.qh.

◆ noValue

float XonoticCheckBox::noValue = 0

Definition at line 10 of file checkbox.qh.

◆ origin

vector Button::origin = '0 0 0'
inherited

Definition at line 40 of file button.qh.

◆ overrideCondenseFactor

float Label::overrideCondenseFactor = 0
inherited

Definition at line 33 of file label.qh.

◆ overrideRealOrigin

vector Label::overrideRealOrigin = '0 0 0'
inherited

Definition at line 32 of file label.qh.

◆ preferredFocusPriority

float MenuItem::preferredFocusPriority = 0
inherited

Definition at line 28 of file item.qh.

◆ pressed

float Button::pressed = 0
inherited

Definition at line 26 of file button.qh.

◆ realFontSize

vector Label::realFontSize = '0 0 0'
inherited

Definition at line 22 of file label.qh.

◆ realOrigin

vector Label::realOrigin = '0 0 0'
inherited

Definition at line 23 of file label.qh.

◆ recalcPos

float Label::recalcPos = 0
inherited

Definition at line 30 of file label.qh.

◆ sendCvars

float XonoticCheckBox::sendCvars = 0

Definition at line 20 of file checkbox.qh.

◆ size

vector Button::size = '0 0 0'
inherited

Definition at line 41 of file button.qh.

◆ src2scale

float Button::src2scale = 1
inherited

Definition at line 21 of file button.qh.

◆ srcMulti

float CheckBox::srcMulti = 0
inherited

Definition at line 14 of file checkbox.qh.

◆ useDownAsChecked

float CheckBox::useDownAsChecked = 0
inherited

Definition at line 10 of file checkbox.qh.

◆ yesValue

float XonoticCheckBox::yesValue = 1

Definition at line 9 of file checkbox.qh.


The documentation for this class was generated from the following file: