|
| | ATTRIB (ListBox, src, string) |
| | ATTRIB (MenuItem, parent, entity) |
| | ATTRIB (MenuItem, tooltip, string) |
| | ATTRIB (XonoticHUDSkinList, filterString, string) |
| | ATTRIB (XonoticHUDSkinList, savedName, string) |
| virtual void | clickListBoxItem () |
| virtual void | configureListBox () |
| virtual void | configureXonoticHUDSkinList () |
| 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 | getHUDSkins () |
| virtual void | getItemAtPos () |
| virtual void | getItemHeight () |
| virtual void | getItemStart () |
| virtual void | getLastFullyVisibleItemAtScrollPos () |
| virtual void | getTotalHeight () |
| virtual void | hideNotify () |
| virtual void | hudskinAuthor () |
| virtual void | hudskinName () |
| virtual void | hudskinPath () |
| virtual void | hudskinTitle () |
| virtual void | isScrolling () |
| virtual void | keyDown () |
| virtual void | keyUp () |
| virtual void | mouseDrag () |
| virtual void | mouseMove () |
| virtual void | mousePress () |
| virtual void | mouseRelease () |
| virtual void | relinquishFocus () |
| virtual void | resizeNotify () |
| virtual void | scrollToItem () |
| virtual void | setFocusedItem () |
| virtual void | setHUDSkin () |
| virtual void | setSelected () |
| virtual void | showNotify () |
| virtual void | toString () |
| virtual void | updateControlTopBottom () |
Definition at line 4 of file hudskinlist.qh.
◆ ATTRIB() [1/5]
◆ ATTRIB() [2/5]
◆ ATTRIB() [3/5]
◆ ATTRIB() [4/5]
◆ ATTRIB() [5/5]
◆ clickListBoxItem()
| virtual void ListBox::clickListBoxItem |
( |
| ) |
|
|
virtualinherited |
◆ configureListBox()
| virtual void ListBox::configureListBox |
( |
| ) |
|
|
virtualinherited |
◆ configureXonoticHUDSkinList()
| virtual void XonoticHUDSkinList::configureXonoticHUDSkinList |
( |
| ) |
|
|
virtual |
◆ configureXonoticListBox()
| virtual void XonoticListBox::configureXonoticListBox |
( |
| ) |
|
|
virtualinherited |
◆ destroy()
| virtual void XonoticHUDSkinList::destroy |
( |
| ) |
|
|
virtual |
◆ doubleClickListBoxItem()
| virtual void XonoticHUDSkinList::doubleClickListBoxItem |
( |
| ) |
|
|
virtual |
◆ draw()
| virtual void XonoticHUDSkinList::draw |
( |
| ) |
|
|
virtual |
◆ drawListBoxItem()
| virtual void XonoticHUDSkinList::drawListBoxItem |
( |
| ) |
|
|
virtual |
◆ focusedItemChangeNotify()
| virtual void ListBox::focusedItemChangeNotify |
( |
| ) |
|
|
virtualinherited |
◆ focusEnter()
| void MenuItem::focusEnter |
( |
| ) |
|
|
virtualinherited |
◆ focusLeave()
| virtual void ListBox::focusLeave |
( |
| ) |
|
|
virtualinherited |
◆ getFirstFullyVisibleItemAtScrollPos()
| virtual void ListBox::getFirstFullyVisibleItemAtScrollPos |
( |
| ) |
|
|
virtualinherited |
◆ getHUDSkins()
| virtual void XonoticHUDSkinList::getHUDSkins |
( |
| ) |
|
|
virtual |
◆ getItemAtPos()
| virtual void ListBox::getItemAtPos |
( |
| ) |
|
|
virtualinherited |
◆ getItemHeight()
| virtual void ListBox::getItemHeight |
( |
| ) |
|
|
virtualinherited |
◆ getItemStart()
| virtual void ListBox::getItemStart |
( |
| ) |
|
|
virtualinherited |
◆ getLastFullyVisibleItemAtScrollPos()
| virtual void ListBox::getLastFullyVisibleItemAtScrollPos |
( |
| ) |
|
|
virtualinherited |
◆ getTotalHeight()
| virtual void ListBox::getTotalHeight |
( |
| ) |
|
|
virtualinherited |
◆ hideNotify()
| void MenuItem::hideNotify |
( |
| ) |
|
|
virtualinherited |
◆ hudskinAuthor()
| virtual void XonoticHUDSkinList::hudskinAuthor |
( |
| ) |
|
|
virtual |
◆ hudskinName()
| virtual void XonoticHUDSkinList::hudskinName |
( |
| ) |
|
|
virtual |
◆ hudskinPath()
| virtual void XonoticHUDSkinList::hudskinPath |
( |
| ) |
|
|
virtual |
◆ hudskinTitle()
| virtual void XonoticHUDSkinList::hudskinTitle |
( |
| ) |
|
|
virtual |
◆ isScrolling()
| virtual void ListBox::isScrolling |
( |
| ) |
|
|
virtualinherited |
◆ keyDown()
| virtual void XonoticHUDSkinList::keyDown |
( |
| ) |
|
|
virtual |
◆ keyUp()
◆ mouseDrag()
| virtual void ListBox::mouseDrag |
( |
| ) |
|
|
virtualinherited |
◆ mouseMove()
| virtual void ListBox::mouseMove |
( |
| ) |
|
|
virtualinherited |
◆ mousePress()
| void ListBox::mousePress |
( |
| ) |
|
|
virtualinherited |
Reimplemented from MenuItem.
Definition at line 200 of file listbox.qc.
201 {
202 if (pos.x < 0 || pos.y < 0 || pos.x >= 1 || pos.y >= 1)
203 return false;
204
207 if (pos.x >= 1 - this.controlWidth)
208 {
209
210 if (pos.y < this.controlTop)
211 {
212
214 }
215 else if (pos.y > this.controlBottom)
216 {
217
219 }
220 else
221 {
225 }
226 }
227 else
228 {
229
231
235 }
236 return true;
237 }
virtual void setSelected()
virtual void getTotalHeight()
virtual void getItemAtPos()
virtual void updateControlTopBottom()
virtual void setFocusedItem()
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 |
◆ relinquishFocus()
| void MenuItem::relinquishFocus |
( |
| ) |
|
|
virtualinherited |
◆ resizeNotify()
| virtual void XonoticHUDSkinList::resizeNotify |
( |
| ) |
|
|
virtual |
◆ scrollToItem()
| virtual void ListBox::scrollToItem |
( |
| ) |
|
|
virtualinherited |
◆ setFocusedItem()
| virtual void ListBox::setFocusedItem |
( |
| ) |
|
|
virtualinherited |
◆ setHUDSkin()
| virtual void XonoticHUDSkinList::setHUDSkin |
( |
| ) |
|
|
virtual |
◆ setSelected()
| virtual void ListBox::setSelected |
( |
| ) |
|
|
virtualinherited |
Reimplemented in XonoticCampaignList, XonoticCvarList, XonoticEntryList, XonoticGametypeList, XonoticKeyBinder, XonoticLanguageList, XonoticRegisteredMutatorsList, XonoticRegisteredSettingsList, XonoticScreenshotList, XonoticScrollPanel, XonoticServerList, and XonoticTopicList.
References entity(), METHOD, and setSelected().
Referenced by mousePress(), and setSelected().
◆ showNotify()
| virtual void XonoticHUDSkinList::showNotify |
( |
| ) |
|
|
virtual |
◆ toString()
| void MenuItem::toString |
( |
| ) |
|
|
virtualinherited |
◆ updateControlTopBottom()
| virtual void ListBox::updateControlTopBottom |
( |
| ) |
|
|
virtualinherited |
◆ allowFocusSound
◆ alphaBG
| float XonoticListBox::alphaBG = SKINALPHA_LISTBOX_BACKGROUND |
|
inherited |
◆ color
| vector XonoticListBox::color = SKINCOLOR_SCROLLBAR_N |
|
inherited |
◆ color2
| vector XonoticListBox::color2 = SKINCOLOR_SCROLLBAR_S |
|
inherited |
◆ colorBG
| vector XonoticListBox::colorBG = SKINCOLOR_LISTBOX_BACKGROUND |
|
inherited |
◆ colorC
| vector XonoticListBox::colorC = SKINCOLOR_SCROLLBAR_C |
|
inherited |
◆ colorF
| vector XonoticListBox::colorF = SKINCOLOR_SCROLLBAR_F |
|
inherited |
◆ columnNameOrigin
| float XonoticHUDSkinList::columnNameOrigin = 0 |
◆ columnNameSize
| float XonoticHUDSkinList::columnNameSize = 0 |
◆ controlBottom
| float ListBox::controlBottom = 0 |
|
inherited |
◆ controlTop
| float ListBox::controlTop = 0 |
|
inherited |
◆ controlWidth
| float ListBox::controlWidth = 0 |
|
inherited |
◆ delayedRefreshTime
| float XonoticHUDSkinList::delayedRefreshTime = 0 |
◆ dragScrollPos
| vector ListBox::dragScrollPos = '0 0 0' |
|
inherited |
◆ focusable
◆ focused
◆ focusedItem
| int ListBox::focusedItem = -1 |
|
inherited |
◆ focusedItemAlpha
| float ListBox::focusedItemAlpha = 0.3 |
|
inherited |
◆ fontSize
| float XonoticListBox::fontSize = SKINFONTSIZE_NORMAL |
|
inherited |
◆ itemAbsSize
| vector XonoticHUDSkinList::itemAbsSize = '0 0 0' |
◆ itemHeight
| float ListBox::itemHeight = 0 |
|
inherited |
◆ lastClickedItem
| float ListBox::lastClickedItem = -1 |
|
inherited |
◆ lastClickedTime
| float ListBox::lastClickedTime = 0 |
|
inherited |
◆ listHUDSkin
| float XonoticHUDSkinList::listHUDSkin = -1 |
◆ mouseMoveOffset
| float ListBox::mouseMoveOffset = -1 |
|
inherited |
◆ needScrollToItem
| float ListBox::needScrollToItem = -1 |
|
inherited |
◆ nItems
◆ origin
| vector XonoticHUDSkinList::origin = '0 0 0' |
◆ preferredFocusPriority
| float MenuItem::preferredFocusPriority = 0 |
|
inherited |
◆ pressed
| float ListBox::pressed = 0 |
|
inherited |
◆ pressOffset
| float ListBox::pressOffset = 0 |
|
inherited |
◆ previousValue
| float ListBox::previousValue = 0 |
|
inherited |
◆ realFontSize
| vector XonoticHUDSkinList::realFontSize = '0 0 0' |
◆ realUpperMargin
| float XonoticHUDSkinList::realUpperMargin = 0 |
◆ rowsPerItem
| float XonoticHUDSkinList::rowsPerItem = 1 |
◆ scrollbarWidth
| float XonoticListBox::scrollbarWidth = SKINWIDTH_SCROLLBAR |
|
inherited |
◆ scrollPos
| float ListBox::scrollPos = 0 |
|
inherited |
◆ scrollPosTarget
| float ListBox::scrollPosTarget = 0 |
|
inherited |
◆ selectedItem
| int ListBox::selectedItem = 0 |
|
inherited |
◆ selectionDoesntMatter
◆ size
| vector ListBox::size = '0 0 0' |
|
inherited |
◆ src
| string XonoticListBox::src = SKINGFX_SCROLLBAR |
|
inherited |
◆ tolerance
| vector XonoticListBox::tolerance = '2 0.2 0' |
|
inherited |
The documentation for this class was generated from the following file: