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

Public Member Functions

 ATTRIB (Label, text, string)
 
 ATTRIB (Label, currentText, string)
 
 ATTRIB (MenuItem, parent, entity)
 
 ATTRIB (Label, textEntity, entity)
 
 ATTRIB (MenuItem, tooltip, string)
 
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 ()
 

Public Attributes

float align = 0.5
 
float allowColors = 0
 
float allowCut = 0
 
float allowFocusSound = 0
 
float allowWrap = 0
 
float alpha = 0.7
 
vector colorL = SKINCOLOR_TEXT
 
float condenseFactor = 1
 
float disabled = 0
 
float disabledAlpha = 0.3
 
float focusable = 0
 
float focused = 0
 
float fontSize = 8
 
float isBold = 0
 
float keepspaceLeft = 0
 
float keepspaceRight = 0
 
float marginLeft = 0
 
float marginRight = 0
 
vector origin = '0 0 0'
 
float overrideCondenseFactor = 0
 
vector overrideRealOrigin = '0 0 0'
 
float preferredFocusPriority = 0
 
vector realFontSize = '0 0 0'
 
vector realOrigin = '0 0 0'
 
float recalcPos = 0
 
vector size = '0 0 0'
 

Detailed Description

Definition at line 4 of file label.qh.

Member Function Documentation

◆ ATTRIB() [1/5]

Label::ATTRIB ( Label  ,
text  ,
string   
)

◆ ATTRIB() [2/5]

Label::ATTRIB ( Label  ,
currentText  ,
string   
)

◆ ATTRIB() [3/5]

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

◆ ATTRIB() [4/5]

Label::ATTRIB ( Label  ,
textEntity  ,
entity   
)

◆ ATTRIB() [5/5]

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

◆ Label ::configureLabel()

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

◆ Label ::draw()

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

◆ Label ::recalcPositionWithText()

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

◆ Label ::resizeNotify()

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

◆ Label ::setText()

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

◆ Label ::toString()

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

◆ 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

Member Data Documentation

◆ align

float Label::align = 0.5

Definition at line 15 of file label.qh.

◆ allowColors

float Label::allowColors = 0

Definition at line 17 of file label.qh.

◆ allowCut

float Label::allowCut = 0

Definition at line 16 of file label.qh.

◆ allowFocusSound

float MenuItem::allowFocusSound = 0
inherited

Definition at line 26 of file item.qh.

◆ allowWrap

float Label::allowWrap = 0

Definition at line 29 of file label.qh.

◆ alpha

float Label::alpha = 0.7

Definition at line 24 of file label.qh.

◆ colorL

vector Label::colorL = SKINCOLOR_TEXT

Definition at line 25 of file label.qh.

◆ condenseFactor

float Label::condenseFactor = 1

Definition at line 31 of file label.qh.

◆ disabled

float Label::disabled = 0

Definition at line 26 of file label.qh.

◆ disabledAlpha

float Label::disabledAlpha = 0.3

Definition at line 27 of file label.qh.

◆ focusable

float MenuItem::focusable = 0
inherited

Definition at line 25 of file item.qh.

◆ focused

float MenuItem::focused = 0
inherited

Definition at line 24 of file item.qh.

◆ fontSize

float Label::fontSize = 8

Definition at line 14 of file label.qh.

◆ isBold

float Label::isBold = 0

Definition at line 11 of file label.qh.

◆ keepspaceLeft

float Label::keepspaceLeft = 0

Definition at line 18 of file label.qh.

◆ keepspaceRight

float Label::keepspaceRight = 0

Definition at line 19 of file label.qh.

◆ marginLeft

float Label::marginLeft = 0

Definition at line 20 of file label.qh.

◆ marginRight

float Label::marginRight = 0

Definition at line 21 of file label.qh.

◆ origin

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

Definition at line 29 of file item.qh.

◆ overrideCondenseFactor

float Label::overrideCondenseFactor = 0

Definition at line 33 of file label.qh.

◆ overrideRealOrigin

vector Label::overrideRealOrigin = '0 0 0'

Definition at line 32 of file label.qh.

◆ preferredFocusPriority

float MenuItem::preferredFocusPriority = 0
inherited

Definition at line 28 of file item.qh.

◆ realFontSize

vector Label::realFontSize = '0 0 0'

Definition at line 22 of file label.qh.

◆ realOrigin

vector Label::realOrigin = '0 0 0'

Definition at line 23 of file label.qh.

◆ recalcPos

float Label::recalcPos = 0

Definition at line 30 of file label.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: