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

Public Member Functions

 ATTRIB (ListBox, src, string)
 ATTRIB (MenuItem, parent, entity)
 ATTRIB (MenuItem, tooltip, string)
 ATTRIB (XonoticServerList, connectButton, entity)
 ATTRIB (XonoticServerList, controlledTextbox, entity)
 ATTRIB (XonoticServerList, favoriteButton, entity)
 ATTRIB (XonoticServerList, filterString, string)
 ATTRIB (XonoticServerList, infoButton, entity)
 ATTRIB (XonoticServerList, ipAddressBox, entity)
 ATTRIB (XonoticServerList, selectedServer, string)
 ATTRIB (XonoticServerList, sortButton1, entity)
 ATTRIB (XonoticServerList, sortButton2, entity)
 ATTRIB (XonoticServerList, sortButton3, entity)
 ATTRIB (XonoticServerList, sortButton4, entity)
 ATTRIB (XonoticServerList, sortButton5, entity)
virtual void clickListBoxItem ()
virtual void configureListBox ()
virtual void configureXonoticListBox ()
virtual void configureXonoticServerList ()
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 positionSortButton ()
virtual void refreshServerList ()
virtual void relinquishFocus ()
virtual void resizeNotify ()
virtual void scrollToItem ()
virtual void setFocusedItem ()
virtual void setSelected ()
virtual void setSortOrder ()
virtual void showNotify ()
virtual void toggleFavorite ()
virtual void toString ()
virtual void updateControlTopBottom ()

Public Attributes

bool allowFocusSound = true
float alphaBG = SKINALPHA_LISTBOX_BACKGROUND
float categoriesHeight = 1.25
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 columnIconsOrigin = 0
float columnIconsSize = 0
float columnMapOrigin = 0
float columnMapSize = 0
float columnNameOrigin = 0
float columnNameSize = 0
float columnPingOrigin = 0
float columnPingSize = 0
float columnPlayersOrigin = 0
float columnPlayersSize = 0
float columnTypeOrigin = 0
float columnTypeSize = 0
float controlBottom = 0
float controlTop = 0
float controlWidth = 0
float currentSortField = -1
float currentSortOrder = 0
vector dragScrollPos = '0 0 0'
float filterShowEmpty = 1
float filterShowFull = 1
float filterShowLaggy = 0
bool focusable = true
bool focused = false
int focusedItem = -1
float focusedItemAlpha = 0.3
float fontSize = SKINFONTSIZE_NORMAL
float iconsSizeFactor = 0.85
float ipAddressBoxFocused = -1
vector itemAbsSize = '0 0 0'
float itemHeight = 0
float lastClickedItem = -1
float lastClickedTime = 0
bool lockedSelectedItem = true
float mouseMoveOffset = -1
bool mouseOverIcons = false
float needScrollToItem = -1
float needsRefresh = 1
float nextRefreshTime = 0
int nItems = 42
vector origin = '0 0 0'
float preferredFocusPriority = 0
float pressed = 0
float pressOffset = 0
float previousValue = 0
vector realFontSize = '0 0 0'
float realUpperMargin = 0
float rowsPerItem = 1
float scrollbarWidth = SKINWIDTH_SCROLLBAR
float scrollPos = 0
float scrollPosTarget = 0
float seenIPv4 = 0
float seenIPv6 = 0
int selectedItem = 0
bool selectionDoesntMatter = false
float serversHeight = 1.0
vector size = '0 0 0'
string src = SKINGFX_SCROLLBAR
vector tolerance = '2 0.2 0'

Detailed Description

Definition at line 4 of file serverlist.qh.

Member Function Documentation

◆ ATTRIB() [1/15]

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

References ATTRIB().

Referenced by ATTRIB().

◆ ATTRIB() [2/15]

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

References entity(), and parent.

◆ ATTRIB() [3/15]

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

◆ ATTRIB() [4/15]

XonoticServerList::ATTRIB ( XonoticServerList ,
connectButton ,
entity  )

References ATTRIB(), and entity().

◆ ATTRIB() [5/15]

XonoticServerList::ATTRIB ( XonoticServerList ,
controlledTextbox ,
entity  )

References ATTRIB(), and entity().

◆ ATTRIB() [6/15]

XonoticServerList::ATTRIB ( XonoticServerList ,
favoriteButton ,
entity  )

References ATTRIB(), and entity().

◆ ATTRIB() [7/15]

XonoticServerList::ATTRIB ( XonoticServerList ,
filterString ,
string  )

References ATTRIB().

◆ ATTRIB() [8/15]

XonoticServerList::ATTRIB ( XonoticServerList ,
infoButton ,
entity  )

References ATTRIB(), and entity().

◆ ATTRIB() [9/15]

XonoticServerList::ATTRIB ( XonoticServerList ,
ipAddressBox ,
entity  )

References ATTRIB(), and entity().

◆ ATTRIB() [10/15]

XonoticServerList::ATTRIB ( XonoticServerList ,
selectedServer ,
string  )

◆ ATTRIB() [11/15]

XonoticServerList::ATTRIB ( XonoticServerList ,
sortButton1 ,
entity  )

References ATTRIB(), and entity().

◆ ATTRIB() [12/15]

XonoticServerList::ATTRIB ( XonoticServerList ,
sortButton2 ,
entity  )

References ATTRIB(), and entity().

◆ ATTRIB() [13/15]

XonoticServerList::ATTRIB ( XonoticServerList ,
sortButton3 ,
entity  )

References ATTRIB(), and entity().

◆ ATTRIB() [14/15]

XonoticServerList::ATTRIB ( XonoticServerList ,
sortButton4 ,
entity  )

References ATTRIB(), and entity().

◆ ATTRIB() [15/15]

XonoticServerList::ATTRIB ( XonoticServerList ,
sortButton5 ,
entity  )

References ATTRIB(), and entity().

◆ clickListBoxItem()

virtual void ListBox::clickListBoxItem ( )
virtualinherited

◆ configureListBox()

virtual void ListBox::configureListBox ( )
virtualinherited

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

Referenced by configureListBox().

◆ configureXonoticListBox()

◆ configureXonoticServerList()

virtual void XonoticServerList::configureXonoticServerList ( )
virtual

◆ destroy()

◆ doubleClickListBoxItem()

virtual void XonoticServerList::doubleClickListBoxItem ( )
virtual

Reimplemented from ListBox.

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

Referenced by doubleClickListBoxItem().

◆ draw()

virtual void XonoticServerList::draw ( )
virtual

Reimplemented from ListBox.

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

Referenced by draw().

◆ drawListBoxItem()

virtual void XonoticServerList::drawListBoxItem ( )
virtual

Reimplemented from ListBox.

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

Referenced by drawListBoxItem().

◆ focusedItemChangeNotify()

virtual void XonoticServerList::focusedItemChangeNotify ( )
virtual

Reimplemented from ListBox.

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

Referenced by focusedItemChangeNotify().

◆ focusEnter()

virtual void XonoticServerList::focusEnter ( )
virtual

Reimplemented from MenuItem.

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

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 XonoticServerList::getItemAtPos ( )
virtual

Reimplemented from ListBox.

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

Referenced by getItemAtPos().

◆ getItemHeight()

virtual void XonoticServerList::getItemHeight ( )
virtual

◆ getItemStart()

virtual void XonoticServerList::getItemStart ( )
virtual

Reimplemented from ListBox.

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

Referenced by getItemStart().

◆ getLastFullyVisibleItemAtScrollPos()

virtual void ListBox::getLastFullyVisibleItemAtScrollPos ( )
virtualinherited

◆ getTotalHeight()

virtual void XonoticServerList::getTotalHeight ( )
virtual

Reimplemented from ListBox.

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

Referenced by getTotalHeight().

◆ 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()

virtual void XonoticServerList::keyDown ( )
virtual

Reimplemented from ListBox.

References entity(), keyDown(), METHOD, and toggleFavorite().

Referenced by 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 XonoticServerList::mouseMove ( )
virtual

Reimplemented from ListBox.

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

Referenced by mouseMove().

◆ mousePress()

void ListBox::mousePress ( )
virtualinherited

Reimplemented from MenuItem.

Definition at line 212 of file listbox.qc.

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

◆ positionSortButton()

virtual void XonoticServerList::positionSortButton ( )
virtual

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

Referenced by positionSortButton().

◆ refreshServerList()

virtual void XonoticServerList::refreshServerList ( )
virtual

◆ 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()

virtual void XonoticServerList::resizeNotify ( )
virtual

Reimplemented from XonoticListBox.

References entity(), METHOD, resizeNotify(), 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()

virtual void XonoticServerList::setSelected ( )
virtual

Reimplemented from ListBox.

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

Referenced by setSelected().

◆ setSortOrder()

virtual void XonoticServerList::setSortOrder ( )
virtual

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

Referenced by setSortOrder().

◆ showNotify()

◆ toggleFavorite()

void XonoticServerList::toggleFavorite ( )
virtual

Definition at line 218 of file serverlist.qc.

219{
220 bool adding = true;
221 string srv_resolved = netaddress_resolve(srv, 26000);
222 string p = crypto_getidfp(srv_resolved);
223 string s = cvar_string("net_slist_favorites");
224 string ret = s;
225 for (int i = 0, n = tokenize_console(s); i < n; ++i)
226 {
227 bool match;
228 if (substring(argv(i), 0, 1) != "[" && strlen(argv(i)) == 44 && strstrofs(argv(i), ".", 0) < 0)
229 {
230 // it's a pubkey hash
231 match = (p && p == argv(i));
232 }
233 else
234 {
235 // it's an ip
236 match = (srv_resolved == netaddress_resolve(argv(i), 26000));
237 }
238 if (!match) continue;
239 // on match: remove
240 adding = false;
241 string before = (i > 0) ? substring(s, 0, argv_end_index(i - 1)) : "";
242 string after = (i < n - 1) ? substring(s, argv_start_index(i + 1), -1) : "";
243 s = strcat(before, (before != "" && after != "" ? " " : ""), after);
244 ret = s;
245 // keep searching
246 // TODO: why not break here?
247 n = tokenize_console(s);
248 --i; // offset the increment that is about to happen
249 }
250 if (adding)
251 {
252 ret = strcat(s, (s != "" ? " " : ""), p ? p : srv);
253 }
254 cvar_set("net_slist_favorites", ret);
256}
virtual void refreshServerList()
#define strstrofs
#define argv_end_index
#define strlen
#define tokenize_console
#define argv_start_index
void cvar_set(string name, string value)
string substring(string s, float start, float length)
const string cvar_string(string name)
string argv(float n)
strcat(_("^F4Countdown stopped!"), "\n^BG", _("Teams are too unbalanced."))
const float REFRESHSERVERLIST_RESORT

References argv(), argv_end_index, argv_start_index, cvar_set(), cvar_string(), refreshServerList(), REFRESHSERVERLIST_RESORT, strcat(), strlen, strstrofs, substring(), toggleFavorite(), and tokenize_console.

Referenced by keyDown(), and toggleFavorite().

◆ 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 XonoticListBox::alphaBG = SKINALPHA_LISTBOX_BACKGROUND
inherited

Definition at line 17 of file listbox.qh.

◆ categoriesHeight

float XonoticServerList::categoriesHeight = 1.25

Definition at line 64 of file serverlist.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.

◆ columnIconsOrigin

float XonoticServerList::columnIconsOrigin = 0

Definition at line 21 of file serverlist.qh.

◆ columnIconsSize

float XonoticServerList::columnIconsSize = 0

Definition at line 22 of file serverlist.qh.

◆ columnMapOrigin

float XonoticServerList::columnMapOrigin = 0

Definition at line 27 of file serverlist.qh.

◆ columnMapSize

float XonoticServerList::columnMapSize = 0

Definition at line 28 of file serverlist.qh.

◆ columnNameOrigin

float XonoticServerList::columnNameOrigin = 0

Definition at line 25 of file serverlist.qh.

◆ columnNameSize

float XonoticServerList::columnNameSize = 0

Definition at line 26 of file serverlist.qh.

◆ columnPingOrigin

float XonoticServerList::columnPingOrigin = 0

Definition at line 23 of file serverlist.qh.

◆ columnPingSize

float XonoticServerList::columnPingSize = 0

Definition at line 24 of file serverlist.qh.

◆ columnPlayersOrigin

float XonoticServerList::columnPlayersOrigin = 0

Definition at line 31 of file serverlist.qh.

◆ columnPlayersSize

float XonoticServerList::columnPlayersSize = 0

Definition at line 32 of file serverlist.qh.

◆ columnTypeOrigin

float XonoticServerList::columnTypeOrigin = 0

Definition at line 29 of file serverlist.qh.

◆ columnTypeSize

float XonoticServerList::columnTypeSize = 0

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

Referenced by XonoticRegisteredSettingsList::resizeNotify().

◆ currentSortField

float XonoticServerList::currentSortField = -1

Definition at line 58 of file serverlist.qh.

◆ currentSortOrder

float XonoticServerList::currentSortOrder = 0

Definition at line 57 of file serverlist.qh.

◆ dragScrollPos

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

Definition at line 36 of file listbox.qh.

Referenced by mousePress().

◆ filterShowEmpty

float XonoticServerList::filterShowEmpty = 1

Definition at line 38 of file serverlist.qh.

◆ filterShowFull

float XonoticServerList::filterShowFull = 1

Definition at line 39 of file serverlist.qh.

◆ filterShowLaggy

float XonoticServerList::filterShowLaggy = 0

Definition at line 40 of file serverlist.qh.

◆ 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.

Referenced by XonoticRegisteredSettingsList::focusedItemChangeNotify().

◆ focusedItemAlpha

float ListBox::focusedItemAlpha = 0.3
inherited

Definition at line 16 of file listbox.qh.

Referenced by XonoticRegisteredSettingsList::drawListBoxItem().

◆ fontSize

float XonoticListBox::fontSize = SKINFONTSIZE_NORMAL
inherited

Definition at line 6 of file listbox.qh.

Referenced by XonoticRegisteredSettingsList::resizeNotify().

◆ iconsSizeFactor

float XonoticServerList::iconsSizeFactor = 0.85

Definition at line 14 of file serverlist.qh.

◆ ipAddressBoxFocused

float XonoticServerList::ipAddressBoxFocused = -1

Definition at line 60 of file serverlist.qh.

◆ itemAbsSize

vector ListBox::itemAbsSize = '0 0 0'
inherited

Definition at line 48 of file listbox.qh.

◆ itemHeight

float ListBox::itemHeight = 0
inherited

Definition at line 47 of file listbox.qh.

Referenced by XonoticRegisteredSettingsList::resizeNotify().

◆ 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.

◆ lockedSelectedItem

bool XonoticServerList::lockedSelectedItem = true

Definition at line 33 of file serverlist.qh.

◆ mouseMoveOffset

float ListBox::mouseMoveOffset = -1
inherited

Definition at line 18 of file listbox.qh.

◆ mouseOverIcons

bool XonoticServerList::mouseOverIcons = false

Definition at line 16 of file serverlist.qh.

◆ needScrollToItem

float ListBox::needScrollToItem = -1
inherited

Definition at line 26 of file listbox.qh.

◆ needsRefresh

float XonoticServerList::needsRefresh = 1

Definition at line 47 of file serverlist.qh.

◆ nextRefreshTime

float XonoticServerList::nextRefreshTime = 0

Definition at line 45 of file serverlist.qh.

◆ nItems

int ListBox::nItems = 42
inherited

◆ origin

vector ListBox::origin = '0 0 0'
inherited

Definition at line 22 of file listbox.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().

◆ previousValue

float ListBox::previousValue = 0
inherited

Definition at line 28 of file listbox.qh.

Referenced by mousePress().

◆ realFontSize

vector XonoticServerList::realFontSize = '0 0 0'

Definition at line 19 of file serverlist.qh.

◆ realUpperMargin

float XonoticServerList::realUpperMargin = 0

Definition at line 20 of file serverlist.qh.

◆ rowsPerItem

float XonoticServerList::rowsPerItem = 1

Definition at line 6 of file serverlist.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().

◆ seenIPv4

float XonoticServerList::seenIPv4 = 0

Definition at line 62 of file serverlist.qh.

◆ seenIPv6

float XonoticServerList::seenIPv6 = 0

Definition at line 63 of file serverlist.qh.

◆ 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.

◆ serversHeight

float XonoticServerList::serversHeight = 1.0

Definition at line 65 of file serverlist.qh.

◆ size

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

Definition at line 21 of file listbox.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.


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