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

Public Member Functions

 ATTRIB (Label, text, string)
 
 ATTRIB (Label, currentText, string)
 
 ATTRIB (Slider, src, string)
 
 ATTRIB (MenuItem, parent, entity)
 
 ATTRIB (Label, textEntity, entity)
 
 ATTRIB (Slider, sliderAnim, 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 ()
 
virtual void Slider ::configureSliderValues ()
 
virtual void Slider ::configureSliderVisuals ()
 
virtual void Slider ::draw ()
 
virtual void Slider ::keyDown ()
 
virtual void Slider ::keyUp ()
 
virtual void Slider ::mouseDrag ()
 
virtual void Slider ::mousePress ()
 
virtual void Slider ::mouseRelease ()
 
virtual void Slider ::resizeNotify ()
 
virtual void Slider ::setSliderValue ()
 
virtual void Slider ::setValue ()
 
virtual void Slider ::setValue_allowAnim ()
 
virtual void Slider ::setValue_noAnim ()
 
virtual void Slider ::showNotify ()
 
virtual void Slider ::toString ()
 
virtual void Slider ::valueToText ()
 
virtual void TextSlider ::addValue ()
 
virtual void TextSlider ::clearValues ()
 
virtual void TextSlider ::configureTextSliderValues ()
 
virtual void TextSlider ::getIdentifier ()
 
virtual void TextSlider ::insertValue ()
 
virtual void TextSlider ::setValueFromIdentifier ()
 
virtual void TextSlider ::setValueFromIdentifier_allowAnim ()
 
virtual void TextSlider ::setValueFromIdentifier_noAnim ()
 
virtual void TextSlider ::valueToIdentifier ()
 
virtual void TextSlider ::valueToText ()
 

Public Attributes

float align = 0.5
 
float allowColors = 0
 
float allowCut = 0
 
float allowFocusSound = 1
 
float allowWrap = 0
 
float alpha = 0.7
 
float animated = 1
 
vector color = '1 1 1'
 
vector color2 = '1 1 1'
 
vector colorC = '1 1 1'
 
vector colorD = '1 1 1'
 
vector colorF = '1 1 1'
 
vector colorL = SKINCOLOR_TEXT
 
float condenseFactor = 1
 
float controlWidth = 0
 
float disabled = 0
 
float disabledAlpha = 0.3
 
float focusable = 1
 
float focused = 0
 
float fontSize = 8
 
float isBold = 0
 
float keepspaceLeft = 0
 
float keepspaceRight = 0
 
float marginLeft = 0
 
float marginRight = 0
 
int nValues = 0
 
vector origin = '0 0 0'
 
float overrideCondenseFactor = 0
 
vector overrideRealOrigin = '0 0 0'
 
float preferredFocusPriority = 0
 
float pressed = 0
 
float pressOffset = 0
 
float previousValue = 0
 
vector realFontSize = '0 0 0'
 
vector realOrigin = '0 0 0'
 
float recalcPos = 0
 
vector size = '0 0 0'
 
float sliderValue = 0
 
float textSpace = 0
 
vector tolerance = '0 0 0'
 
float value = 0
 
float valueDigits = 0
 
float valueDisplayMultiplier = 1.0
 
string valueIdentifiers [256]
 
float valueKeyStep = 0
 
float valueMax = 0
 
float valueMin = 0
 
float valuePageStep = 0
 
float valueStep = 0
 
string valueStrings [256]
 

Detailed Description

Definition at line 6 of file textslider.qh.

Member Function Documentation

◆ ATTRIB() [1/7]

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

◆ ATTRIB() [2/7]

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

◆ ATTRIB() [3/7]

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

◆ ATTRIB() [4/7]

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

◆ ATTRIB() [5/7]

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

◆ ATTRIB() [6/7]

Slider::ATTRIB ( Slider  ,
sliderAnim  ,
entity   
)
inherited

◆ ATTRIB() [7/7]

MenuItem::ATTRIB ( MenuItem  ,
tooltip  ,
string   
)
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

◆ Slider ::configureSliderValues()

virtual void Slider::Slider ::configureSliderValues ( )
virtualinherited

◆ Slider ::configureSliderVisuals()

virtual void Slider::Slider ::configureSliderVisuals ( )
virtualinherited

◆ Slider ::draw()

virtual void Slider::Slider ::draw ( )
virtualinherited

◆ Slider ::keyDown()

virtual void Slider::Slider ::keyDown ( )
virtualinherited

◆ Slider ::keyUp()

virtual void Slider::Slider ::keyUp ( )
virtualinherited

◆ Slider ::mouseDrag()

virtual void Slider::Slider ::mouseDrag ( )
virtualinherited

◆ Slider ::mousePress()

virtual void Slider::Slider ::mousePress ( )
virtualinherited

◆ Slider ::mouseRelease()

virtual void Slider::Slider ::mouseRelease ( )
virtualinherited

◆ Slider ::resizeNotify()

virtual void Slider::Slider ::resizeNotify ( )
virtualinherited

◆ Slider ::setSliderValue()

virtual void Slider::Slider ::setSliderValue ( )
virtualinherited

◆ Slider ::setValue()

virtual void Slider::Slider ::setValue ( )
virtualinherited

◆ Slider ::setValue_allowAnim()

virtual void Slider::Slider ::setValue_allowAnim ( )
virtualinherited

◆ Slider ::setValue_noAnim()

virtual void Slider::Slider ::setValue_noAnim ( )
virtualinherited

◆ Slider ::showNotify()

virtual void Slider::Slider ::showNotify ( )
virtualinherited

◆ Slider ::toString()

virtual void Slider::Slider ::toString ( )
virtualinherited

◆ Slider ::valueToText()

virtual void Slider::Slider ::valueToText ( )
virtualinherited

◆ TextSlider ::addValue()

virtual void TextSlider::TextSlider ::addValue ( )
virtual

◆ TextSlider ::clearValues()

virtual void TextSlider::TextSlider ::clearValues ( )
virtual

◆ TextSlider ::configureTextSliderValues()

virtual void TextSlider::TextSlider ::configureTextSliderValues ( )
virtual

◆ TextSlider ::getIdentifier()

virtual void TextSlider::TextSlider ::getIdentifier ( )
virtual

◆ TextSlider ::insertValue()

virtual void TextSlider::TextSlider ::insertValue ( )
virtual

◆ TextSlider ::setValueFromIdentifier()

virtual void TextSlider::TextSlider ::setValueFromIdentifier ( )
virtual

◆ TextSlider ::setValueFromIdentifier_allowAnim()

virtual void TextSlider::TextSlider ::setValueFromIdentifier_allowAnim ( )
virtual

◆ TextSlider ::setValueFromIdentifier_noAnim()

virtual void TextSlider::TextSlider ::setValueFromIdentifier_noAnim ( )
virtual

◆ TextSlider ::valueToIdentifier()

virtual void TextSlider::TextSlider ::valueToIdentifier ( )
virtual

◆ TextSlider ::valueToText()

virtual void TextSlider::TextSlider ::valueToText ( )
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 Slider::allowFocusSound = 1
inherited

Definition at line 25 of file slider.qh.

◆ allowWrap

float Label::allowWrap = 0
inherited

Definition at line 29 of file label.qh.

◆ alpha

float Label::alpha = 0.7
inherited

Definition at line 24 of file label.qh.

◆ animated

float Slider::animated = 1
inherited

Definition at line 27 of file slider.qh.

◆ color

vector Slider::color = '1 1 1'
inherited

Definition at line 44 of file slider.qh.

◆ color2

vector Slider::color2 = '1 1 1'
inherited

Definition at line 45 of file slider.qh.

◆ colorC

vector Slider::colorC = '1 1 1'
inherited

Definition at line 47 of file slider.qh.

◆ colorD

vector Slider::colorD = '1 1 1'
inherited

Definition at line 46 of file slider.qh.

◆ colorF

vector Slider::colorF = '1 1 1'
inherited

Definition at line 48 of file slider.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.

◆ controlWidth

float Slider::controlWidth = 0
inherited

Definition at line 38 of file slider.qh.

◆ disabled

float Slider::disabled = 0
inherited

Definition at line 43 of file slider.qh.

◆ disabledAlpha

float Slider::disabledAlpha = 0.3
inherited

Definition at line 49 of file slider.qh.

◆ focusable

float Slider::focusable = 1
inherited

Definition at line 24 of file slider.qh.

◆ focused

float MenuItem::focused = 0
inherited

Definition at line 24 of file item.qh.

◆ fontSize

float Label::fontSize = 8
inherited

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

◆ nValues

int TextSlider::nValues = 0

Definition at line 19 of file textslider.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 Slider::pressed = 0
inherited

Definition at line 39 of file slider.qh.

◆ pressOffset

float Slider::pressOffset = 0
inherited

Definition at line 40 of file slider.qh.

◆ previousValue

float Slider::previousValue = 0
inherited

Definition at line 41 of file slider.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.

◆ size

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

Definition at line 30 of file item.qh.

◆ sliderValue

float Slider::sliderValue = 0
inherited

Definition at line 28 of file slider.qh.

◆ textSpace

float Slider::textSpace = 0
inherited

Definition at line 37 of file slider.qh.

◆ tolerance

vector Slider::tolerance = '0 0 0'
inherited

Definition at line 42 of file slider.qh.

◆ value

float Slider::value = 0
inherited

Definition at line 26 of file slider.qh.

◆ valueDigits

float Slider::valueDigits = 0
inherited

Definition at line 33 of file slider.qh.

◆ valueDisplayMultiplier

float Slider::valueDisplayMultiplier = 1.0
inherited

Definition at line 36 of file slider.qh.

◆ valueIdentifiers

string TextSlider::valueIdentifiers[ 256]

Definition at line 18 of file textslider.qh.

◆ valueKeyStep

float Slider::valueKeyStep = 0
inherited

Definition at line 34 of file slider.qh.

◆ valueMax

float Slider::valueMax = 0
inherited

Definition at line 31 of file slider.qh.

◆ valueMin

float Slider::valueMin = 0
inherited

Definition at line 30 of file slider.qh.

◆ valuePageStep

float Slider::valuePageStep = 0
inherited

Definition at line 35 of file slider.qh.

◆ valueStep

float Slider::valueStep = 0
inherited

Definition at line 32 of file slider.qh.

◆ valueStrings

string TextSlider::valueStrings[ 256]

Definition at line 17 of file textslider.qh.


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