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

Public Member Functions

 ATTRIB (XonoticInputBox, onChange, void(entity, entity))
 
 ATTRIB (XonoticInputBox, onChangeEntity, entity)
 
 ATTRIB (Label, text, string)
 
 ATTRIB (Label, currentText, string)
 
 ATTRIB (XonoticInputBox, onEnter, void(entity, entity))
 
 ATTRIB (XonoticInputBox, onEnterEntity, entity)
 
 ATTRIB (InputBox, src, string)
 
 ATTRIB (MenuItem, parent, entity)
 
 ATTRIB (Label, textEntity, entity)
 
 ATTRIB (XonoticInputBox, controlledCvar, string)
 
 ATTRIB (MenuItem, tooltip, string)
 
 ATTRIB (InputBox, applyButton, entity)
 
 ATTRIB (InputBox, clearButton, entity)
 
virtual void InputBox ::configureInputBox ()
 
virtual void InputBox ::draw ()
 
virtual void InputBox ::enterText ()
 
virtual void InputBox ::keyDown ()
 
virtual void InputBox ::mouseDrag ()
 
virtual void InputBox ::mouseMove ()
 
virtual void InputBox ::mousePress ()
 
virtual void InputBox ::mouseRelease ()
 
virtual void InputBox ::resizeNotify ()
 
virtual void InputBox ::setText ()
 
virtual void InputBox ::showNotify ()
 
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 ()
 
virtual void XonoticInputBox ::configureXonoticInputBox ()
 
virtual void XonoticInputBox ::focusLeave ()
 
virtual void XonoticInputBox ::keyDown ()
 
virtual void XonoticInputBox ::loadCvars ()
 
virtual void XonoticInputBox ::saveCvars ()
 
virtual void XonoticInputBox ::setText ()
 

Public Attributes

float align = 0.5
 
float allowColors = 0
 
float allowCut = 0
 
float allowFocusSound = 1
 
float allowWrap = 0
 
float alpha = SKINALPHA_TEXT
 
vector cb_color = SKINCOLOR_CLEARBUTTON_N
 
vector cb_colorC = SKINCOLOR_CLEARBUTTON_C
 
vector cb_colorF = SKINCOLOR_CLEARBUTTON_F
 
float cb_focused = 0
 
float cb_offset = SKINOFFSET_CLEARBUTTON
 
float cb_pressed = 0
 
string cb_src = SKINGFX_CLEARBUTTON
 
float cb_width = 0
 
vector color = SKINCOLOR_INPUTBOX_N
 
vector colorF = SKINCOLOR_INPUTBOX_F
 
vector colorL = SKINCOLOR_TEXT
 
float condenseFactor = 1
 
float cursorPos = 0
 
float disabled = 0
 
float disabledAlpha = 0.3
 
vector dragScrollPos = '0 0 0'
 
float dragScrollTimer = 0
 
float editColorCodes = 1
 
float enableClearButton = 1
 
float focusable = 1
 
float focused = 0
 
float fontSize = SKINFONTSIZE_NORMAL
 
string forbiddenCharacters = ""
 
string image = SKINGFX_INPUTBOX
 
float isBold = 0
 
float keepspaceLeft = 0
 
float keepspaceRight = 0
 
float lastChangeTime = 0
 
float marginLeft = SKINMARGIN_INPUTBOX_CHARS
 
float marginRight = SKINMARGIN_INPUTBOX_CHARS
 
float maxLength = 255
 
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 saveImmediately = 0
 
float scrollPos = 0
 
float sendCvars = 0
 
vector size = '0 0 0'
 

Detailed Description

Definition at line 4 of file inputbox.qh.

Member Function Documentation

◆ ATTRIB() [1/13]

XonoticInputBox::ATTRIB ( XonoticInputBox  ,
onChange  ,
void(entity, entity  
)

◆ ATTRIB() [2/13]

XonoticInputBox::ATTRIB ( XonoticInputBox  ,
onChangeEntity  ,
entity   
)

◆ ATTRIB() [3/13]

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

◆ ATTRIB() [4/13]

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

◆ ATTRIB() [5/13]

XonoticInputBox::ATTRIB ( XonoticInputBox  ,
onEnter  ,
void(entity, entity  
)

◆ ATTRIB() [6/13]

XonoticInputBox::ATTRIB ( XonoticInputBox  ,
onEnterEntity  ,
entity   
)

◆ ATTRIB() [7/13]

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

◆ ATTRIB() [8/13]

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

◆ ATTRIB() [9/13]

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

◆ ATTRIB() [10/13]

XonoticInputBox::ATTRIB ( XonoticInputBox  ,
controlledCvar  ,
string   
)

◆ ATTRIB() [11/13]

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

◆ ATTRIB() [12/13]

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

◆ ATTRIB() [13/13]

InputBox::ATTRIB ( InputBox  ,
clearButton  ,
entity   
)
inherited

◆ InputBox ::configureInputBox()

virtual void InputBox::InputBox ::configureInputBox ( )
virtualinherited

◆ InputBox ::draw()

virtual void InputBox::InputBox ::draw ( )
virtualinherited

◆ InputBox ::enterText()

virtual void InputBox::InputBox ::enterText ( )
virtualinherited

◆ InputBox ::keyDown()

virtual void InputBox::InputBox ::keyDown ( )
virtualinherited

◆ InputBox ::mouseDrag()

virtual void InputBox::InputBox ::mouseDrag ( )
virtualinherited

◆ InputBox ::mouseMove()

virtual void InputBox::InputBox ::mouseMove ( )
virtualinherited

◆ InputBox ::mousePress()

virtual void InputBox::InputBox ::mousePress ( )
virtualinherited

◆ InputBox ::mouseRelease()

virtual void InputBox::InputBox ::mouseRelease ( )
virtualinherited

◆ InputBox ::resizeNotify()

virtual void InputBox::InputBox ::resizeNotify ( )
virtualinherited

◆ InputBox ::setText()

virtual void InputBox::InputBox ::setText ( )
virtualinherited

◆ InputBox ::showNotify()

virtual void InputBox::InputBox ::showNotify ( )
virtualinherited

◆ 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

◆ XonoticInputBox ::configureXonoticInputBox()

virtual void XonoticInputBox::XonoticInputBox ::configureXonoticInputBox ( )
virtual

◆ XonoticInputBox ::focusLeave()

virtual void XonoticInputBox::XonoticInputBox ::focusLeave ( )
virtual

◆ XonoticInputBox ::keyDown()

virtual void XonoticInputBox::XonoticInputBox ::keyDown ( )
virtual

◆ XonoticInputBox ::loadCvars()

virtual void XonoticInputBox::XonoticInputBox ::loadCvars ( )
virtual

◆ XonoticInputBox ::saveCvars()

virtual void XonoticInputBox::XonoticInputBox ::saveCvars ( )
virtual

◆ XonoticInputBox ::setText()

virtual void XonoticInputBox::XonoticInputBox ::setText ( )
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 InputBox::allowFocusSound = 1
inherited

Definition at line 23 of file inputbox.qh.

◆ allowWrap

float Label::allowWrap = 0
inherited

Definition at line 29 of file label.qh.

◆ alpha

float XonoticInputBox::alpha = SKINALPHA_TEXT

Definition at line 20 of file inputbox.qh.

◆ cb_color

vector XonoticInputBox::cb_color = SKINCOLOR_CLEARBUTTON_N

Definition at line 25 of file inputbox.qh.

◆ cb_colorC

vector XonoticInputBox::cb_colorC = SKINCOLOR_CLEARBUTTON_C

Definition at line 27 of file inputbox.qh.

◆ cb_colorF

vector XonoticInputBox::cb_colorF = SKINCOLOR_CLEARBUTTON_F

Definition at line 26 of file inputbox.qh.

◆ cb_focused

float InputBox::cb_focused = 0
inherited

Definition at line 40 of file inputbox.qh.

◆ cb_offset

float XonoticInputBox::cb_offset = SKINOFFSET_CLEARBUTTON

Definition at line 23 of file inputbox.qh.

◆ cb_pressed

float InputBox::cb_pressed = 0
inherited

Definition at line 39 of file inputbox.qh.

◆ cb_src

string XonoticInputBox::cb_src = SKINGFX_CLEARBUTTON

Definition at line 24 of file inputbox.qh.

◆ cb_width

float InputBox::cb_width = 0
inherited

Definition at line 38 of file inputbox.qh.

◆ color

vector XonoticInputBox::color = SKINCOLOR_INPUTBOX_N

Definition at line 17 of file inputbox.qh.

◆ colorF

vector XonoticInputBox::colorF = SKINCOLOR_INPUTBOX_F

Definition at line 18 of file inputbox.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.

◆ cursorPos

float InputBox::cursorPos = 0
inherited

Definition at line 19 of file inputbox.qh.

◆ disabled

float InputBox::disabled = 0
inherited

Definition at line 24 of file inputbox.qh.

◆ disabledAlpha

float Label::disabledAlpha = 0.3
inherited

Definition at line 27 of file label.qh.

◆ dragScrollPos

vector InputBox::dragScrollPos = '0 0 0'
inherited

Definition at line 27 of file inputbox.qh.

◆ dragScrollTimer

float InputBox::dragScrollTimer = 0
inherited

Definition at line 26 of file inputbox.qh.

◆ editColorCodes

float InputBox::editColorCodes = 1
inherited

Definition at line 29 of file inputbox.qh.

◆ enableClearButton

float InputBox::enableClearButton = 1
inherited

Definition at line 36 of file inputbox.qh.

◆ focusable

float InputBox::focusable = 1
inherited

Definition at line 22 of file inputbox.qh.

◆ focused

float MenuItem::focused = 0
inherited

Definition at line 24 of file item.qh.

◆ fontSize

float XonoticInputBox::fontSize = SKINFONTSIZE_NORMAL

Definition at line 9 of file inputbox.qh.

◆ forbiddenCharacters

string InputBox::forbiddenCharacters = ""
inherited

Definition at line 30 of file inputbox.qh.

◆ image

string XonoticInputBox::image = SKINGFX_INPUTBOX

Definition at line 10 of file inputbox.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.

◆ lastChangeTime

float InputBox::lastChangeTime = 0
inherited

Definition at line 25 of file inputbox.qh.

◆ marginLeft

float XonoticInputBox::marginLeft = SKINMARGIN_INPUTBOX_CHARS

Definition at line 15 of file inputbox.qh.

◆ marginRight

float XonoticInputBox::marginRight = SKINMARGIN_INPUTBOX_CHARS

Definition at line 16 of file inputbox.qh.

◆ maxLength

float InputBox::maxLength = 255
inherited

Definition at line 33 of file inputbox.qh.

◆ origin

vector MenuItem::origin = '0 0 0'
inherited

Definition at line 29 of file item.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 InputBox::pressed = 0
inherited

Definition at line 28 of file inputbox.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.

◆ saveImmediately

float XonoticInputBox::saveImmediately = 0

Definition at line 34 of file inputbox.qh.

◆ scrollPos

float InputBox::scrollPos = 0
inherited

Definition at line 20 of file inputbox.qh.

◆ sendCvars

float XonoticInputBox::sendCvars = 0

Definition at line 32 of file inputbox.qh.

◆ size

vector MenuItem::size = '0 0 0'
inherited

Definition at line 30 of file item.qh.


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