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

Public Member Functions

 ATTRIB (Tab, title, string)
 
 ATTRIB (InputContainer, mouseFocusedChild, entity)
 
 ATTRIB (XonoticTab, backgroundImage, string)
 
 ATTRIB (Tab, backgroundImage, string)
 
 ATTRIB (XonoticTab, titleTooltip, string)
 
 ATTRIB (MenuItem, parent, entity)
 
 ATTRIB (Container, firstChild, entity)
 
 ATTRIB (Container, lastChild, entity)
 
 ATTRIB (Container, focusedChild, entity)
 
 ATTRIB (MenuItem, tooltip, string)
 
 ATTRIB (Container, savedFocus, entity)
 
 ATTRIB (Dialog, closeButton, entity)
 
 ATTRIB (Dialog, backgroundImage, string)
 
 ATTRIB (Dialog, closeButtonImage, string)
 
 ATTRIB (Dialog, frame, entity)
 
virtual void Container ::addItem ()
 
virtual void Container ::addItemCentered ()
 
virtual void Container ::addItemRightCentered ()
 
virtual void Container ::draw ()
 
virtual void Container ::enterLieSubitem ()
 
virtual void Container ::enterSubitem ()
 
virtual void Container ::focusLeave ()
 
virtual void Container ::hideNotify ()
 
virtual void Container ::itemFromPoint ()
 
virtual void Container ::keyDown ()
 
virtual void Container ::keyUp ()
 
virtual void Container ::leaveSubitem ()
 
virtual void Container ::mouseDrag ()
 
virtual void Container ::mouseMove ()
 
virtual void Container ::mousePress ()
 
virtual void Container ::mouseRelease ()
 
virtual void Container ::moveItemAfter ()
 
virtual void Container ::preferredFocusedGrandChild ()
 
virtual void Container ::removeItem ()
 
virtual void Container ::resizeNotify ()
 
virtual void Container ::resizeNotifyLie ()
 
virtual void Container ::saveFocus ()
 
virtual void Container ::setAlphaOf ()
 
virtual void Container ::setFocus ()
 
virtual void Container ::showNotify ()
 
virtual void Dialog ::addItemSimple ()
 
virtual void Dialog ::close ()
 
virtual void Dialog ::configureDialog ()
 
virtual void Dialog ::fill ()
 
virtual void Dialog ::gotoRC ()
 
virtual void Dialog ::keyDown ()
 
virtual void Dialog ::setFirstColumn ()
 
virtual void Dialog ::TD ()
 
virtual void Dialog ::TDempty ()
 
virtual void Dialog ::TDNoMargin ()
 
virtual void Dialog ::TR ()
 
virtual void InputContainer ::_changeFocusXY ()
 
virtual void InputContainer ::focusLeave ()
 
virtual void InputContainer ::keyDown ()
 
virtual void InputContainer ::mouseDrag ()
 
virtual void InputContainer ::mouseMove ()
 
virtual void InputContainer ::mousePress ()
 
virtual void InputContainer ::mouseRelease ()
 
virtual void InputContainer ::resizeNotify ()
 
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 ()
 
 REGISTER_SETTINGS (damagetext, NEW(XonoticDamageTextSettings))
 
virtual void XonoticDamageTextSettings ::fill ()
 
virtual void XonoticDamageTextSettings ::showNotify ()
 
 XonoticDamageTextSettings ::XonoticDamageTextSettings ()
 
virtual void XonoticTab ::showNotify ()
 

Public Attributes

float allowFocusSound = 0
 
float borderLines = 1
 
float closable = 0
 
vector color = '1 0.5 1'
 
float columns = 5
 
float columnSpacing = SKINMARGIN_COLUMNS
 
float currentColumn = 0
 
float currentRow = 0
 
float firstColumn = 0
 
float focusable = 0
 
float focused = 0
 
bool hideMenuOnClose = false
 
float intendedHeight = 0
 
float intendedWidth = 0.9
 
float isTabRoot = 0
 
vector itemOrigin = '0 0 0'
 
vector itemSize = '0 0 0'
 
vector itemSpacing = '0 0 0'
 
float marginBottom = 0
 
float marginLeft = 0
 
float marginRight = 0
 
float marginTop = 0
 
string name = ""
 
vector origin = '0 0 0'
 
float preferredFocusPriority = 0
 
float requiresConnection = 0
 
float rootDialog = 0
 
float rowHeight = SKINFONTSIZE_NORMAL * SKINHEIGHT_NORMAL
 
float rows = 15.5
 
float rowSpacing = SKINMARGIN_ROWS
 
float shown = 0
 
vector size = '0 0 0'
 
string title = _("Damage text")
 
float titleFontSize = 0
 
float titleHeight = 0
 
float zoomedOutTitleBar = 0
 
float zoomedOutTitleBarPosition = 0
 

Detailed Description

Definition at line 6 of file ui_damagetext.qc.

Member Function Documentation

◆ ATTRIB() [1/15]

Tab::ATTRIB ( Tab  ,
title  ,
string   
)
inherited

◆ ATTRIB() [2/15]

InputContainer::ATTRIB ( InputContainer  ,
mouseFocusedChild  ,
entity   
)
inherited

◆ ATTRIB() [3/15]

XonoticTab::ATTRIB ( XonoticTab  ,
backgroundImage  ,
string   
)
inherited

◆ ATTRIB() [4/15]

Tab::ATTRIB ( Tab  ,
backgroundImage  ,
string   
)
inherited

◆ ATTRIB() [5/15]

XonoticTab::ATTRIB ( XonoticTab  ,
titleTooltip  ,
string   
)
inherited

◆ ATTRIB() [6/15]

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

◆ ATTRIB() [7/15]

Container::ATTRIB ( Container  ,
firstChild  ,
entity   
)
inherited

◆ ATTRIB() [8/15]

Container::ATTRIB ( Container  ,
lastChild  ,
entity   
)
inherited

◆ ATTRIB() [9/15]

Container::ATTRIB ( Container  ,
focusedChild  ,
entity   
)
inherited

◆ ATTRIB() [10/15]

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

◆ ATTRIB() [11/15]

Container::ATTRIB ( Container  ,
savedFocus  ,
entity   
)
inherited

◆ ATTRIB() [12/15]

Dialog::ATTRIB ( Dialog  ,
closeButton  ,
entity   
)
inherited

◆ ATTRIB() [13/15]

Dialog::ATTRIB ( Dialog  ,
backgroundImage  ,
string   
)
inherited

◆ ATTRIB() [14/15]

Dialog::ATTRIB ( Dialog  ,
closeButtonImage  ,
string   
)
inherited

◆ ATTRIB() [15/15]

Dialog::ATTRIB ( Dialog  ,
frame  ,
entity   
)
inherited

◆ Container ::addItem()

virtual void Container::Container ::addItem ( )
virtualinherited

◆ Container ::addItemCentered()

virtual void Container::Container ::addItemCentered ( )
virtualinherited

◆ Container ::addItemRightCentered()

virtual void Container::Container ::addItemRightCentered ( )
virtualinherited

◆ Container ::draw()

virtual void Container::Container ::draw ( )
virtualinherited

◆ Container ::enterLieSubitem()

virtual void Container::Container ::enterLieSubitem ( )
virtualinherited

◆ Container ::enterSubitem()

virtual void Container::Container ::enterSubitem ( )
virtualinherited

◆ Container ::focusLeave()

virtual void Container::Container ::focusLeave ( )
virtualinherited

◆ Container ::hideNotify()

virtual void Container::Container ::hideNotify ( )
virtualinherited

◆ Container ::itemFromPoint()

virtual void Container::Container ::itemFromPoint ( )
virtualinherited

◆ Container ::keyDown()

virtual void Container::Container ::keyDown ( )
virtualinherited

◆ Container ::keyUp()

virtual void Container::Container ::keyUp ( )
virtualinherited

◆ Container ::leaveSubitem()

virtual void Container::Container ::leaveSubitem ( )
virtualinherited

◆ Container ::mouseDrag()

virtual void Container::Container ::mouseDrag ( )
virtualinherited

◆ Container ::mouseMove()

virtual void Container::Container ::mouseMove ( )
virtualinherited

◆ Container ::mousePress()

virtual void Container::Container ::mousePress ( )
virtualinherited

◆ Container ::mouseRelease()

virtual void Container::Container ::mouseRelease ( )
virtualinherited

◆ Container ::moveItemAfter()

virtual void Container::Container ::moveItemAfter ( )
virtualinherited

◆ Container ::preferredFocusedGrandChild()

virtual void Container::Container ::preferredFocusedGrandChild ( )
virtualinherited

◆ Container ::removeItem()

virtual void Container::Container ::removeItem ( )
virtualinherited

◆ Container ::resizeNotify()

virtual void Container::Container ::resizeNotify ( )
virtualinherited

◆ Container ::resizeNotifyLie()

virtual void Container::Container ::resizeNotifyLie ( )
virtualinherited

◆ Container ::saveFocus()

virtual void Container::Container ::saveFocus ( )
virtualinherited

◆ Container ::setAlphaOf()

virtual void Container::Container ::setAlphaOf ( )
virtualinherited

◆ Container ::setFocus()

virtual void Container::Container ::setFocus ( )
virtualinherited

◆ Container ::showNotify()

virtual void Container::Container ::showNotify ( )
virtualinherited

◆ Dialog ::addItemSimple()

virtual void Dialog::Dialog ::addItemSimple ( )
virtualinherited

◆ Dialog ::close()

virtual void Dialog::Dialog ::close ( )
virtualinherited

◆ Dialog ::configureDialog()

virtual void Dialog::Dialog ::configureDialog ( )
virtualinherited

◆ Dialog ::fill()

virtual void Dialog::Dialog ::fill ( )
virtualinherited

◆ Dialog ::gotoRC()

virtual void Dialog::Dialog ::gotoRC ( )
virtualinherited

◆ Dialog ::keyDown()

virtual void Dialog::Dialog ::keyDown ( )
virtualinherited

◆ Dialog ::setFirstColumn()

virtual void Dialog::Dialog ::setFirstColumn ( )
virtualinherited

◆ Dialog ::TD()

virtual void Dialog::Dialog ::TD ( )
virtualinherited

◆ Dialog ::TDempty()

virtual void Dialog::Dialog ::TDempty ( )
virtualinherited

◆ Dialog ::TDNoMargin()

virtual void Dialog::Dialog ::TDNoMargin ( )
virtualinherited

◆ Dialog ::TR()

virtual void Dialog::Dialog ::TR ( )
virtualinherited

◆ InputContainer ::_changeFocusXY()

virtual void InputContainer::InputContainer ::_changeFocusXY ( )
virtualinherited

◆ InputContainer ::focusLeave()

virtual void InputContainer::InputContainer ::focusLeave ( )
virtualinherited

◆ InputContainer ::keyDown()

virtual void InputContainer::InputContainer ::keyDown ( )
virtualinherited

◆ InputContainer ::mouseDrag()

virtual void InputContainer::InputContainer ::mouseDrag ( )
virtualinherited

◆ InputContainer ::mouseMove()

virtual void InputContainer::InputContainer ::mouseMove ( )
virtualinherited

◆ InputContainer ::mousePress()

virtual void InputContainer::InputContainer ::mousePress ( )
virtualinherited

◆ InputContainer ::mouseRelease()

virtual void InputContainer::InputContainer ::mouseRelease ( )
virtualinherited

◆ InputContainer ::resizeNotify()

virtual void InputContainer::InputContainer ::resizeNotify ( )
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

◆ REGISTER_SETTINGS()

XonoticDamageTextSettings::REGISTER_SETTINGS ( damagetext  ,
NEW(XonoticDamageTextSettings  
)

◆ XonoticDamageTextSettings ::fill()

virtual void XonoticDamageTextSettings::XonoticDamageTextSettings ::fill ( )
inlinevirtual

Definition at line 14 of file ui_damagetext.qc.

References entity(), and makeXonoticCheckBox().

15  {
16  entity e;
17  this.gotoRC(this, 0, 1); this.setFirstColumn(this, this.currentColumn);
18  this.TD(this, 1, 3, makeXonoticCheckBox(0, "cl_damagetext", _("Draw damage numbers")));
19  this.TR(this);
20  this.TD(this, 1, 1, e = makeXonoticTextLabel(0, _("Font size minimum:")));
21  setDependent(e, "cl_damagetext", 1, 1);
22  this.TD(this, 1, 2, e = makeXonoticSlider(0, 50, 1, "cl_damagetext_size_min"));
23  setDependent(e, "cl_damagetext", 1, 1);
24  this.TR(this);
25  this.TD(this, 1, 1, e = makeXonoticTextLabel(0, _("Font size maximum:")));
26  setDependent(e, "cl_damagetext", 1, 1);
27  this.TD(this, 1, 2, e = makeXonoticSlider(0, 50, 1, "cl_damagetext_size_max"));
28  setDependent(e, "cl_damagetext", 1, 1);
29  this.TR(this);
30  this.TD(this, 1, 1, e = makeXonoticTextLabel(0, _("Color:")));
31  setDependent(e, "cl_damagetext", 1, 1);
32  this.TD(this, 2, 2, e = makeXonoticColorpickerString("cl_damagetext_color", "cl_damagetext_color"));
33  setDependent(e, "cl_damagetext", 1, 1);
34  this.TR(this);
35  this.TR(this);
36  this.TD(this, 1, 3, e = makeXonoticCheckBox(0, "cl_damagetext_friendlyfire", _("Draw damage numbers for friendly fire")));
37  setDependent(e, "cl_damagetext", 1, 1);
38  }
entity() spawn
entity makeXonoticTextLabel(float theAlign, string theText)
Definition: textlabel.qc:3
entity makeXonoticSlider(float theValueMin, float theValueMax, float theValueStep, string theCvar)
Definition: slider.qc:10
float currentColumn
Definition: dialog.qh:40
entity makeXonoticColorpickerString(string theCvar, string theDefaultCvar)
entity makeXonoticCheckBox(float isInverted, string theCvar, string theText)
Definition: checkbox.qc:28
+ Here is the call graph for this function:

◆ XonoticDamageTextSettings ::showNotify()

virtual void XonoticDamageTextSettings::XonoticDamageTextSettings ::showNotify ( )
inlinevirtual

Definition at line 13 of file ui_damagetext.qc.

References loadAllCvars().

13 { loadAllCvars(this); }
+ Here is the call graph for this function:

◆ XonoticDamageTextSettings ::XonoticDamageTextSettings()

XonoticDamageTextSettings::XonoticDamageTextSettings ::XonoticDamageTextSettings ( )
inline

Definition at line 12 of file ui_damagetext.qc.

12 { this.configureDialog(this); }

◆ XonoticTab ::showNotify()

virtual void XonoticTab::XonoticTab ::showNotify ( )
virtualinherited

Member Data Documentation

◆ allowFocusSound

float MenuItem::allowFocusSound = 0
inherited

Definition at line 26 of file item.qh.

◆ borderLines

float Dialog::borderLines = 1
inherited

Definition at line 67 of file dialog.qh.

◆ closable

float Tab::closable = 0
inherited

Definition at line 6 of file tab.qh.

◆ color

vector Dialog::color = '1 0.5 1'
inherited

Definition at line 47 of file dialog.qh.

◆ columns

float XonoticDamageTextSettings::columns = 5

Definition at line 11 of file ui_damagetext.qc.

◆ columnSpacing

float XonoticTab::columnSpacing = SKINMARGIN_COLUMNS
inherited

Definition at line 17 of file tab.qh.

◆ currentColumn

float Dialog::currentColumn = 0
inherited

Definition at line 40 of file dialog.qh.

◆ currentRow

float Dialog::currentRow = 0
inherited

Definition at line 39 of file dialog.qh.

◆ firstColumn

float Dialog::firstColumn = 0
inherited

Definition at line 41 of file dialog.qh.

◆ focusable

float Container::focusable = 0
inherited

Definition at line 28 of file container.qh.

◆ focused

float MenuItem::focused = 0
inherited

Definition at line 24 of file item.qh.

◆ hideMenuOnClose

bool Dialog::hideMenuOnClose = false
inherited

Definition at line 70 of file dialog.qh.

◆ intendedHeight

float Dialog::intendedHeight = 0
inherited

Definition at line 35 of file dialog.qh.

◆ intendedWidth

float XonoticDamageTextSettings::intendedWidth = 0.9

Definition at line 9 of file ui_damagetext.qc.

◆ isTabRoot

float Tab::isTabRoot = 0
inherited

Definition at line 5 of file tab.qh.

◆ itemOrigin

vector Dialog::itemOrigin = '0 0 0'
inherited

Definition at line 36 of file dialog.qh.

◆ itemSize

vector Dialog::itemSize = '0 0 0'
inherited

Definition at line 37 of file dialog.qh.

◆ itemSpacing

vector Dialog::itemSpacing = '0 0 0'
inherited

Definition at line 38 of file dialog.qh.

◆ marginBottom

float XonoticTab::marginBottom = 0
inherited

Definition at line 14 of file tab.qh.

◆ marginLeft

float XonoticTab::marginLeft = 0
inherited

Definition at line 15 of file tab.qh.

◆ marginRight

float XonoticTab::marginRight = 0
inherited

Definition at line 16 of file tab.qh.

◆ marginTop

float XonoticTab::marginTop = 0
inherited

Definition at line 13 of file tab.qh.

◆ name

string Dialog::name = ""
inherited

Definition at line 46 of file dialog.qh.

◆ origin

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

Definition at line 29 of file item.qh.

◆ preferredFocusPriority

float MenuItem::preferredFocusPriority = 0
inherited

Definition at line 28 of file item.qh.

◆ requiresConnection

float Dialog::requiresConnection = 0
inherited

Definition at line 64 of file dialog.qh.

◆ rootDialog

float Tab::rootDialog = 0
inherited

Definition at line 7 of file tab.qh.

◆ rowHeight

float XonoticTab::rowHeight = SKINFONTSIZE_NORMAL * SKINHEIGHT_NORMAL
inherited

Definition at line 19 of file tab.qh.

◆ rows

float XonoticDamageTextSettings::rows = 15.5

Definition at line 10 of file ui_damagetext.qc.

◆ rowSpacing

float XonoticTab::rowSpacing = SKINMARGIN_ROWS
inherited

Definition at line 18 of file tab.qh.

◆ shown

float Container::shown = 0
inherited

Definition at line 33 of file container.qh.

◆ size

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

Definition at line 30 of file item.qh.

◆ title

string XonoticDamageTextSettings::title = _("Damage text")

Definition at line 8 of file ui_damagetext.qc.

◆ titleFontSize

float Tab::titleFontSize = 0
inherited

Definition at line 9 of file tab.qh.

◆ titleHeight

float Tab::titleHeight = 0
inherited

Definition at line 23 of file tab.qh.

◆ zoomedOutTitleBar

float Dialog::zoomedOutTitleBar = 0
inherited

Definition at line 62 of file dialog.qh.

◆ zoomedOutTitleBarPosition

float Dialog::zoomedOutTitleBarPosition = 0
inherited

Definition at line 61 of file dialog.qh.


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