Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
XonoticRegisteredMutatorsList Class Reference
Inheritance diagram for XonoticRegisteredMutatorsList:
Collaboration diagram for XonoticRegisteredMutatorsList:

Public Member Functions

 ATTRIB (ListBox, src, string)
 ATTRIB (MenuItem, parent, entity)
 ATTRIB (MenuItem, tooltip, string)
 ATTRIB (XonoticRegisteredMutatorsList, onChange, void(entity, entity))
 ATTRIB (XonoticRegisteredMutatorsList, onChangeEntity, entity)
 ATTRIB (XonoticRegisteredMutatorsList, typeToSearchString, string)
virtual void clickListBoxItem ()
virtual void configureListBox ()
virtual void configureXonoticListBox ()
virtual void destroy ()
virtual void doubleClickListBoxItem ()
virtual void draw ()
virtual void drawListBoxItem ()
virtual void focusedItemChangeNotify ()
virtual void focusEnter ()
virtual void focusLeave ()
virtual void getFirstFullyVisibleItemAtScrollPos ()
virtual void getItemAtPos ()
virtual void getItemHeight ()
virtual void getItemStart ()
virtual void getLastFullyVisibleItemAtScrollPos ()
virtual void getTotalHeight ()
virtual void hideNotify ()
virtual void isScrolling ()
virtual void keyDown ()
virtual void keyUp ()
virtual void mouseDrag ()
virtual void mouseMove ()
virtual void mousePress ()
virtual void mouseRelease ()
virtual void refilter ()
virtual void relinquishFocus ()
virtual void resizeNotify ()
virtual void scrollToItem ()
virtual void setFocusedItem ()
virtual void setSelected ()
virtual void showNotify ()
virtual void toString ()
virtual void updateControlTopBottom ()

Public Attributes

bool allowFocusSound = true
float alphaBG = 0
vector color = SKINCOLOR_SCROLLBAR_N
vector color2 = SKINCOLOR_SCROLLBAR_S
vector colorBG = SKINCOLOR_LISTBOX_BACKGROUND
vector colorC = SKINCOLOR_SCROLLBAR_C
vector colorF = SKINCOLOR_SCROLLBAR_F
float columnIconOrigin = 0
float columnIconSize = 0
float columnNameOrigin = 0
float columnNameSize = 0
float columnTreeIconSize = 0
float controlBottom = 0
float controlTop = 0
float controlWidth = 0
vector dragScrollPos = '0 0 0'
bool focusable = true
bool focused = false
int focusedItem = -1
float focusedItemAlpha = 0.3
float fontSize = SKINFONTSIZE_NORMAL
vector itemAbsSize = '0 0 0'
float itemHeight = 0
float lastClickedItem = -1
float lastClickedTime = 0
float mouseMoveOffset = -1
float needScrollToItem = -1
int nItems = 42
vector origin = '0 0 0'
float preferredFocusPriority = 0
float pressed = 0
float pressOffset = 0
int previouslySelected = -1
float previousValue = 0
vector realFontSize = '0 0 0'
float realUpperMargin = 0
float rowsPerItem = 1.6
float scrollbarWidth = SKINWIDTH_SCROLLBAR
float scrollPos = 0
float scrollPosTarget = 0
int selectedItem = 0
bool selectionDoesntMatter = false
vector size = '0 0 0'
DataSource source = NEW(MenuMutatorSource)
string src = SKINGFX_SCROLLBAR
vector tolerance = '2 0.2 0'
float typeToSearchTime = 0

Detailed Description

Definition at line 67 of file dialog_multiplayer_create_mutators.qh.

Member Function Documentation

◆ ATTRIB() [1/6]

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

References ATTRIB().

Referenced by ATTRIB().

◆ ATTRIB() [2/6]

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

References entity(), and parent.

◆ ATTRIB() [3/6]

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

◆ ATTRIB() [4/6]

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

References ATTRIB(), and entity().

◆ ATTRIB() [5/6]

XonoticRegisteredMutatorsList::ATTRIB ( XonoticRegisteredMutatorsList ,
onChangeEntity ,
entity  )

References ATTRIB(), and entity().

◆ ATTRIB() [6/6]

XonoticRegisteredMutatorsList::ATTRIB ( XonoticRegisteredMutatorsList ,
typeToSearchString ,
string  )

References ATTRIB().

Referenced by ATTRIB(), ATTRIB(), and ATTRIB().

◆ clickListBoxItem()

virtual void ListBox::clickListBoxItem ( )
virtualinherited

◆ configureListBox()

virtual void ListBox::configureListBox ( )
virtualinherited

References configureListBox(), entity(), and METHOD.

Referenced by configureListBox().

◆ configureXonoticListBox()

◆ destroy()

◆ doubleClickListBoxItem()

◆ draw()

virtual void ListBox::draw ( )
virtualinherited

◆ drawListBoxItem()

void XonoticRegisteredMutatorsList::drawListBoxItem ( )
virtual

Reimplemented from ListBox.

Definition at line 84 of file dialog_multiplayer_create_mutators.qc.

85{
86 if (!me.source)
87 return;
88 me.source.getEntry(me.source, i, XonoticRegisteredMutatorsList_getNameDescription_cb);
89 if (XonoticRegisteredMutatorsList_cb_description != "") // no description means it's a header
90 {
91 if (isSelected)
92 draw_Fill('0 0 0', '1 1 0', SKINCOLOR_LISTBOX_SELECTED, SKINALPHA_LISTBOX_SELECTED);
93 else if (isFocused)
94 {
95 me.focusedItemAlpha = getFadedAlpha(me.focusedItemAlpha, SKINALPHA_LISTBOX_FOCUSED, SKINFADEALPHA_LISTBOX_FOCUSED);
96 draw_Fill('0 0 0', '1 1 0', SKINCOLOR_LISTBOX_FOCUSED, me.focusedItemAlpha);
97 }
98 }
99
100 vector theColor;
101 float theAlpha, nameSize, nameOrigin;
103 {
104 theColor = SKINCOLOR_MUTATORS_TITLES;
105 theAlpha = SKINALPHA_MUTATORS_TITLES;
106 nameSize = 1;
107 nameOrigin = 0;
108 }
109 else
110 {
111 nameSize = me.columnNameSize;
112 nameOrigin = me.columnNameOrigin;
113 me.source.getEntryOther(me.source, i, XonoticRegisteredMutatorsList_getOther_cb);
114 if (XonoticRegisteredMutatorsList_cb_show_tick) // draw check if mutator is enabled
115 draw_Picture(me.columnIconOrigin * eX, MUTATOR_ENABLED_ICON, me.columnIconSize * eX + eY, '1 1 1', SKINALPHA_LISTBOX_SELECTED);
116 if (XonoticRegisteredMutatorsList_cb_disabled) // draw text darker if mutator can't be enabled
117 {
118 theColor = SKINCOLOR_MUTATORS_DISABLED;
119 theAlpha = SKINALPHA_MUTATORS_DISABLED;
120 }
121 else
122 {
123 theColor = SKINCOLOR_MUTATORS_ENTRIES;
124 theAlpha = SKINALPHA_MUTATORS_ENTRIES;
125 }
126 // draw tree
127 draw_Picture('0 0 0', sprintf("/gfx/menu/%s/%s", cvar_string("menu_skin"), XonoticRegisteredMutatorsList_cb_tree),
128 me.columnTreeIconSize * eX + eY, '1 1 1', SKINALPHA_LISTBOX_SELECTED);
129 }
130
131 string s = draw_TextShortenToWidth(strdecolorize(XonoticRegisteredMutatorsList_cb_name), nameSize, 0, me.realFontSize);
132 draw_Text(me.realUpperMargin * eY + nameOrigin * eX, s, me.realFontSize, theColor, theAlpha, 0);
133}
void XonoticRegisteredMutatorsList_getOther_cb(bool _show_tick, bool _disabled, string _tree)
bool XonoticRegisteredMutatorsList_cb_show_tick
string XonoticRegisteredMutatorsList_cb_tree
string XonoticRegisteredMutatorsList_cb_name
const string MUTATOR_ENABLED_ICON
bool XonoticRegisteredMutatorsList_cb_disabled
void XonoticRegisteredMutatorsList_getNameDescription_cb(string _name, string _description)
string XonoticRegisteredMutatorsList_cb_description
string draw_TextShortenToWidth(string theText, float maxWidth, float ICanHasKallerz, vector SizeThxBye)
Definition draw.qc:378
void draw_Picture(vector theOrigin, string pic, vector theSize, vector theColor, float theAlpha)
Definition draw.qc:72
void draw_Text(vector theOrigin, string theText, vector theSize, vector theColor, float theAlpha, float ICanHasKallerz)
Definition draw.qc:282
void draw_Fill(vector theOrigin, vector theSize, vector theColor, float theAlpha)
Definition draw.qc:97
float getFadedAlpha(float currentAlpha, float startAlpha, float targetAlpha)
Definition util.qc:816
const string cvar_string(string name)
vector
Definition self.qh:96
const vector eY
Definition vector.qh:44
const vector eX
Definition vector.qh:43

References cvar_string(), draw_Fill(), draw_Picture(), draw_Text(), draw_TextShortenToWidth(), drawListBoxItem(), entity(), eX, eY, getFadedAlpha(), MUTATOR_ENABLED_ICON, vector, XonoticRegisteredMutatorsList_cb_description, XonoticRegisteredMutatorsList_cb_disabled, XonoticRegisteredMutatorsList_cb_name, XonoticRegisteredMutatorsList_cb_show_tick, XonoticRegisteredMutatorsList_cb_tree, XonoticRegisteredMutatorsList_getNameDescription_cb(), and XonoticRegisteredMutatorsList_getOther_cb().

Referenced by drawListBoxItem().

◆ focusedItemChangeNotify()

virtual void ListBox::focusedItemChangeNotify ( )
virtualinherited

◆ focusEnter()

void MenuItem::focusEnter ( )
virtualinherited

Reimplemented in Nexposee, XonoticCreditsDialog, XonoticServerList, and XonoticWinnerDialog.

Definition at line 94 of file item.qc.

95 {
97 }
bool allowFocusSound
Definition item.qh:26
void m_play_focus_sound()
Definition menu.qc:1102

References allowFocusSound, focusEnter(), and m_play_focus_sound().

Referenced by focusEnter().

◆ focusLeave()

virtual void ListBox::focusLeave ( )
virtualinherited

Reimplemented from MenuItem.

References entity(), focusLeave(), and METHOD.

Referenced by focusLeave().

◆ getFirstFullyVisibleItemAtScrollPos()

virtual void ListBox::getFirstFullyVisibleItemAtScrollPos ( )
virtualinherited

◆ getItemAtPos()

virtual void ListBox::getItemAtPos ( )
virtualinherited

Reimplemented in XonoticScrollPanel, and XonoticServerList.

References entity(), getItemAtPos(), and METHOD.

Referenced by getItemAtPos(), and mousePress().

◆ getItemHeight()

virtual void ListBox::getItemHeight ( )
virtualinherited

Reimplemented in XonoticScrollPanel, and XonoticServerList.

References ENDCLASS, entity(), getItemHeight(), and METHOD.

Referenced by getItemHeight().

◆ getItemStart()

virtual void ListBox::getItemStart ( )
virtualinherited

Reimplemented in XonoticScrollPanel, and XonoticServerList.

References entity(), getItemStart(), and METHOD.

Referenced by getItemStart().

◆ getLastFullyVisibleItemAtScrollPos()

virtual void ListBox::getLastFullyVisibleItemAtScrollPos ( )
virtualinherited

◆ getTotalHeight()

virtual void ListBox::getTotalHeight ( )
virtualinherited

Reimplemented in XonoticScrollPanel, and XonoticServerList.

References entity(), getTotalHeight(), and METHOD.

Referenced by getTotalHeight(), and mousePress().

◆ hideNotify()

void MenuItem::hideNotify ( )
virtualinherited

Reimplemented in Container, and XonoticCvarList.

Definition at line 59 of file item.qc.

60 {}

References hideNotify().

Referenced by hideNotify().

◆ isScrolling()

virtual void ListBox::isScrolling ( )
virtualinherited

References entity(), isScrolling(), and METHOD.

Referenced by isScrolling().

◆ keyDown()

◆ keyUp()

void MenuItem::keyUp ( )
virtualinherited

Reimplemented in Container, Nexposee, and Slider.

Definition at line 67 of file item.qc.

68 {
69 return 0; // unhandled
70 }

References keyUp().

Referenced by keyUp().

◆ mouseDrag()

virtual void ListBox::mouseDrag ( )
virtualinherited

Reimplemented from MenuItem.

Reimplemented in XonoticPlayList, and XonoticWeaponsList.

References entity(), METHOD, mouseDrag(), and vector.

Referenced by mouseDrag().

◆ mouseMove()

virtual void ListBox::mouseMove ( )
virtualinherited

Reimplemented from MenuItem.

Reimplemented in XonoticServerList.

References entity(), METHOD, mouseMove(), mousePress(), this, and vector.

Referenced by mouseMove().

◆ mousePress()

void ListBox::mousePress ( )
virtualinherited

Reimplemented from MenuItem.

Definition at line 211 of file listbox.qc.

212 {
213 if (pos.x < 0) return false;
214 if (pos.y < 0) return false;
215 if (pos.x >= 1) return false;
216 if (pos.y >= 1) return false;
217 this.dragScrollPos = pos;
218 this.updateControlTopBottom(this);
219 if (pos.x >= 1 - this.controlWidth)
220 {
221 // if hit, set this.pressed, otherwise scroll by one page
222 if (pos.y < this.controlTop)
223 {
224 // page up
225 this.scrollPosTarget = max(this.scrollPosTarget - 1, 0);
226 }
227 else if (pos.y > this.controlBottom)
228 {
229 // page down
230 this.scrollPosTarget = min(this.scrollPosTarget + 1, this.getTotalHeight(this) - 1);
231 }
232 else
233 {
234 this.pressed = 1;
235 this.pressOffset = pos.y;
236 this.previousValue = this.scrollPos;
237 }
238 }
239 else
240 {
241 // continue doing that while dragging (even when dragging outside). When releasing, forward the click to the then selected item.
242 this.pressed = 2;
243 // an item has been clicked. Select it, ...
244 int clickeditem = this.getItemAtPos(this, this.scrollPos + pos.y);
245 this.setSelected(this, clickeditem);
246 this.setFocusedItem(this, clickeditem);
247 }
248 return true;
249 }
virtual void setSelected()
virtual void getTotalHeight()
vector dragScrollPos
Definition listbox.qh:36
float pressOffset
Definition listbox.qh:30
virtual void getItemAtPos()
virtual void updateControlTopBottom()
float pressed
Definition listbox.qh:29
float previousValue
Definition listbox.qh:28
float scrollPosTarget
Definition listbox.qh:24
virtual void setFocusedItem()
float scrollPos
Definition listbox.qh:23
float min(float f,...)
float max(float f,...)

References dragScrollPos, getItemAtPos(), getTotalHeight(), max(), min(), mousePress(), pressed, pressOffset, previousValue, scrollPos, scrollPosTarget, setFocusedItem(), setSelected(), updateControlTopBottom(), and vector.

Referenced by mouseMove(), and mousePress().

◆ mouseRelease()

virtual void ListBox::mouseRelease ( )
virtualinherited

Reimplemented from MenuItem.

Reimplemented in XonoticCvarList.

References entity(), METHOD, mouseRelease(), and vector.

Referenced by mouseRelease().

◆ refilter()

void XonoticRegisteredMutatorsList::refilter ( )
virtual

Definition at line 135 of file dialog_multiplayer_create_mutators.qc.

136{
137 if (!me.source)
138 {
139 me.nItems = 0;
140 return;
141 }
142 me.nItems = me.source.reload(me.source, "");
143}

References entity(), and refilter().

Referenced by refilter().

◆ relinquishFocus()

void MenuItem::relinquishFocus ( )
virtualinherited

Definition at line 11 of file item.qc.

12 {
13 entity par = this.parent;
14 if (!par) return;
15 if (par.instanceOfContainer) par.setFocus(par, NULL);
16 }
entity parent
Definition animhost.qc:7
entity() spawn
#define NULL
Definition post.qh:14

References entity(), NULL, parent, and relinquishFocus().

Referenced by relinquishFocus().

◆ resizeNotify()

void XonoticRegisteredMutatorsList::resizeNotify ( )
virtual

Reimplemented from XonoticListBox.

Definition at line 145 of file dialog_multiplayer_create_mutators.qc.

146{
147 SUPER(XonoticRegisteredMutatorsList).resizeNotify(me, relOrigin, relSize, absOrigin, absSize);
148
149 me.itemAbsSize = '0 0 0';
150 me.itemAbsSize.y = absSize.y * me.itemHeight;
151 me.itemAbsSize.x = absSize.x * (1 - me.controlWidth);
152 me.realFontSize.y = me.fontSize / me.itemAbsSize.y;
153 me.realFontSize.x = me.fontSize / me.itemAbsSize.x;
154 me.realUpperMargin = 0.5 * (1 - me.realFontSize.y);
155 me.columnIconSize = me.itemAbsSize.y / me.itemAbsSize.x;
156 me.columnIconOrigin = 1 - me.columnIconSize;
157 me.columnTreeIconSize = me.columnIconSize; // 1:1 aspect ratio
158 me.columnNameOrigin = me.columnTreeIconSize + 0.5 * me.realFontSize.x;
159 me.columnNameSize = me.columnIconOrigin - me.columnNameOrigin - me.realFontSize.x;
160}
#define SUPER(cname)
Definition oo.qh:236

References entity(), resizeNotify(), SUPER, and vector.

Referenced by resizeNotify().

◆ scrollToItem()

virtual void ListBox::scrollToItem ( )
virtualinherited

◆ setFocusedItem()

virtual void ListBox::setFocusedItem ( )
virtualinherited

References entity(), METHOD, and setFocusedItem().

Referenced by mousePress(), and setFocusedItem().

◆ setSelected()

void XonoticRegisteredMutatorsList::setSelected ( )
virtual

Reimplemented from ListBox.

Definition at line 162 of file dialog_multiplayer_create_mutators.qc.

163{
164 i = bound(0, i, me.nItems - 1);
165 me.source.getEntry(me.source, i, XonoticRegisteredMutatorsList_getNameDescription_cb);
166
167 // handling of "unselectable" items
168 // skip over unselectables if selected via keyboard, otherwise ignore mouse input
169 if (!me.pressed)
170 {
171 if (i < me.previouslySelected)
172 {
173 while ((i > 0) && XonoticRegisteredMutatorsList_cb_description == "")
174 me.source.getEntry(me.source, --i, XonoticRegisteredMutatorsList_getNameDescription_cb);
175 }
176 else
177 {
178 while ((i < me.nItems - 1) && XonoticRegisteredMutatorsList_cb_description == "")
179 me.source.getEntry(me.source, ++i, XonoticRegisteredMutatorsList_getNameDescription_cb);
180 }
181 }
183 i = me.previouslySelected;
184 else
185 me.previouslySelected = i;
186
187 SUPER(XonoticRegisteredMutatorsList).setSelected(me, i);
188 if (me.onChange)
189 me.onChange(me, me.onChangeEntity);
190}
float bound(float min, float value, float max)

References bound(), entity(), setSelected(), SUPER, XonoticRegisteredMutatorsList_cb_description, and XonoticRegisteredMutatorsList_getNameDescription_cb().

Referenced by setSelected().

◆ showNotify()

◆ toString()

void MenuItem::toString ( )
virtualinherited

Reimplemented in CheckBox, Image, Label, Slider, and XonoticWeaponsList.

Definition at line 102 of file item.qc.

103 {
104 return string_null;
105 }
string string_null
Definition nil.qh:9

References string_null, and toString().

Referenced by toString().

◆ updateControlTopBottom()

virtual void ListBox::updateControlTopBottom ( )
virtualinherited

Member Data Documentation

◆ allowFocusSound

bool ListBox::allowFocusSound = true
inherited

Definition at line 19 of file listbox.qh.

◆ alphaBG

float XonoticRegisteredMutatorsList::alphaBG = 0

Definition at line 68 of file dialog_multiplayer_create_mutators.qh.

◆ color

vector XonoticListBox::color = SKINCOLOR_SCROLLBAR_N
inherited

Definition at line 12 of file listbox.qh.

◆ color2

vector XonoticListBox::color2 = SKINCOLOR_SCROLLBAR_S
inherited

Definition at line 14 of file listbox.qh.

◆ colorBG

vector XonoticListBox::colorBG = SKINCOLOR_LISTBOX_BACKGROUND
inherited

Definition at line 16 of file listbox.qh.

◆ colorC

vector XonoticListBox::colorC = SKINCOLOR_SCROLLBAR_C
inherited

Definition at line 15 of file listbox.qh.

◆ colorF

vector XonoticListBox::colorF = SKINCOLOR_SCROLLBAR_F
inherited

Definition at line 13 of file listbox.qh.

◆ columnIconOrigin

float XonoticRegisteredMutatorsList::columnIconOrigin = 0

Definition at line 73 of file dialog_multiplayer_create_mutators.qh.

◆ columnIconSize

float XonoticRegisteredMutatorsList::columnIconSize = 0

Definition at line 74 of file dialog_multiplayer_create_mutators.qh.

◆ columnNameOrigin

float XonoticRegisteredMutatorsList::columnNameOrigin = 0

Definition at line 75 of file dialog_multiplayer_create_mutators.qh.

◆ columnNameSize

float XonoticRegisteredMutatorsList::columnNameSize = 0

Definition at line 76 of file dialog_multiplayer_create_mutators.qh.

◆ columnTreeIconSize

float XonoticRegisteredMutatorsList::columnTreeIconSize = 0

Definition at line 77 of file dialog_multiplayer_create_mutators.qh.

◆ controlBottom

float ListBox::controlBottom = 0
inherited

Definition at line 34 of file listbox.qh.

◆ controlTop

float ListBox::controlTop = 0
inherited

Definition at line 33 of file listbox.qh.

◆ controlWidth

float ListBox::controlWidth = 0
inherited

Definition at line 35 of file listbox.qh.

◆ dragScrollPos

vector ListBox::dragScrollPos = '0 0 0'
inherited

Definition at line 36 of file listbox.qh.

Referenced by mousePress().

◆ focusable

bool ListBox::focusable = true
inherited

Definition at line 14 of file listbox.qh.

◆ focused

bool MenuItem::focused = false
inherited

Definition at line 24 of file item.qh.

◆ focusedItem

int ListBox::focusedItem = -1
inherited

Definition at line 15 of file listbox.qh.

◆ focusedItemAlpha

float ListBox::focusedItemAlpha = 0.3
inherited

Definition at line 16 of file listbox.qh.

◆ fontSize

float XonoticListBox::fontSize = SKINFONTSIZE_NORMAL
inherited

Definition at line 6 of file listbox.qh.

◆ itemAbsSize

vector XonoticRegisteredMutatorsList::itemAbsSize = '0 0 0'

Definition at line 69 of file dialog_multiplayer_create_mutators.qh.

◆ itemHeight

float ListBox::itemHeight = 0
inherited

Definition at line 47 of file listbox.qh.

◆ lastClickedItem

float ListBox::lastClickedItem = -1
inherited

Definition at line 52 of file listbox.qh.

◆ lastClickedTime

float ListBox::lastClickedTime = 0
inherited

Definition at line 53 of file listbox.qh.

◆ mouseMoveOffset

float ListBox::mouseMoveOffset = -1
inherited

Definition at line 18 of file listbox.qh.

◆ needScrollToItem

float ListBox::needScrollToItem = -1
inherited

Definition at line 26 of file listbox.qh.

◆ nItems

int ListBox::nItems = 42
inherited

Definition at line 46 of file listbox.qh.

Referenced by XonoticTopicList::XonoticTopicList(), and XonoticEntryList::keyDown().

◆ origin

vector XonoticRegisteredMutatorsList::origin = '0 0 0'

Definition at line 70 of file dialog_multiplayer_create_mutators.qh.

◆ preferredFocusPriority

float MenuItem::preferredFocusPriority = 0
inherited

Definition at line 28 of file item.qh.

◆ pressed

float ListBox::pressed = 0
inherited

Definition at line 29 of file listbox.qh.

Referenced by mousePress().

◆ pressOffset

float ListBox::pressOffset = 0
inherited

Definition at line 30 of file listbox.qh.

Referenced by mousePress().

◆ previouslySelected

int XonoticRegisteredMutatorsList::previouslySelected = -1

Definition at line 84 of file dialog_multiplayer_create_mutators.qh.

◆ previousValue

float ListBox::previousValue = 0
inherited

Definition at line 28 of file listbox.qh.

Referenced by mousePress().

◆ realFontSize

vector XonoticRegisteredMutatorsList::realFontSize = '0 0 0'

Definition at line 71 of file dialog_multiplayer_create_mutators.qh.

◆ realUpperMargin

float XonoticRegisteredMutatorsList::realUpperMargin = 0

Definition at line 72 of file dialog_multiplayer_create_mutators.qh.

◆ rowsPerItem

float XonoticRegisteredMutatorsList::rowsPerItem = 1.6

Definition at line 78 of file dialog_multiplayer_create_mutators.qh.

◆ scrollbarWidth

float XonoticListBox::scrollbarWidth = SKINWIDTH_SCROLLBAR
inherited

Definition at line 7 of file listbox.qh.

◆ scrollPos

float ListBox::scrollPos = 0
inherited

Definition at line 23 of file listbox.qh.

Referenced by mousePress().

◆ scrollPosTarget

float ListBox::scrollPosTarget = 0
inherited

Definition at line 24 of file listbox.qh.

Referenced by mousePress().

◆ selectedItem

int ListBox::selectedItem = 0
inherited

Definition at line 20 of file listbox.qh.

◆ selectionDoesntMatter

bool ListBox::selectionDoesntMatter = false
inherited

Definition at line 37 of file listbox.qh.

◆ size

vector ListBox::size = '0 0 0'
inherited

Definition at line 21 of file listbox.qh.

◆ source

DataSource XonoticRegisteredMutatorsList::source = NEW(MenuMutatorSource)

Definition at line 81 of file dialog_multiplayer_create_mutators.qh.

◆ src

string XonoticListBox::src = SKINGFX_SCROLLBAR
inherited

Definition at line 8 of file listbox.qh.

◆ tolerance

vector XonoticListBox::tolerance = '2 0.2 0'
inherited

Definition at line 9 of file listbox.qh.

◆ typeToSearchTime

float XonoticRegisteredMutatorsList::typeToSearchTime = 0

Definition at line 80 of file dialog_multiplayer_create_mutators.qh.


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