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

Public Member Functions

 ATTRIB (XonoticSoundList, filterString, string)
 
 ATTRIB (XonoticSoundList, playlist, entity)
 
 ATTRIB (MenuItem, parent, entity)
 
 ATTRIB (MenuItem, tooltip, string)
 
 ATTRIB (ListBox, src, string)
 
virtual void ListBox ::clickListBoxItem ()
 
virtual void ListBox ::configureListBox ()
 
virtual void ListBox ::doubleClickListBoxItem ()
 
virtual void ListBox ::draw ()
 
virtual void ListBox ::drawListBoxItem ()
 
virtual void ListBox ::focusedItemChangeNotify ()
 
virtual void ListBox ::focusLeave ()
 
virtual void ListBox ::getFirstFullyVisibleItemAtScrollPos ()
 
virtual void ListBox ::getItemAtPos ()
 
virtual void ListBox ::getItemHeight ()
 
virtual void ListBox ::getItemStart ()
 
virtual void ListBox ::getLastFullyVisibleItemAtScrollPos ()
 
virtual void ListBox ::getTotalHeight ()
 
virtual void ListBox ::isScrolling ()
 
virtual void ListBox ::keyDown ()
 
virtual void ListBox ::mouseDrag ()
 
virtual void ListBox ::mouseMove ()
 
virtual void ListBox ::mousePress ()
 
virtual void ListBox ::mouseRelease ()
 
virtual void ListBox ::resizeNotify ()
 
virtual void ListBox ::scrollToItem ()
 
virtual void ListBox ::setFocusedItem ()
 
virtual void ListBox ::setSelected ()
 
virtual void ListBox ::updateControlTopBottom ()
 
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 XonoticListBox ::configureXonoticListBox ()
 
virtual void XonoticListBox ::resizeNotify ()
 
virtual void XonoticSoundList ::configureXonoticSoundList ()
 
virtual void XonoticSoundList ::destroy ()
 
virtual void XonoticSoundList ::doubleClickListBoxItem ()
 
virtual void XonoticSoundList ::drawListBoxItem ()
 
virtual void XonoticSoundList ::getSounds ()
 
virtual void XonoticSoundList ::keyDown ()
 
virtual void XonoticSoundList ::resizeNotify ()
 
virtual void XonoticSoundList ::showNotify ()
 
virtual void XonoticSoundList ::soundName ()
 

Public Attributes

float allowFocusSound = 1
 
float alphaBG = SKINALPHA_LISTBOX_BACKGROUND
 
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 columnNameOrigin = 0
 
float columnNameSize = 0
 
float columnNumberOrigin = 0
 
float columnNumberSize = 0
 
float controlBottom = 0
 
float controlTop = 0
 
float controlWidth = 0
 
vector dragScrollPos = '0 0 0'
 
float focusable = 1
 
float focused = 0
 
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
 
int listSound = -1
 
float mouseMoveOffset = -1
 
float needScrollToItem = -1
 
float 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
 
int selectedItem = 0
 
bool selectionDoesntMatter = false
 
vector size = '0 0 0'
 
string src = SKINGFX_SCROLLBAR
 
vector tolerance = '2 0.2 0'
 

Detailed Description

Definition at line 4 of file soundlist.qh.

Member Function Documentation

◆ ATTRIB() [1/5]

XonoticSoundList::ATTRIB ( XonoticSoundList  ,
filterString  ,
string   
)

◆ ATTRIB() [2/5]

XonoticSoundList::ATTRIB ( XonoticSoundList  ,
playlist  ,
entity   
)

◆ ATTRIB() [3/5]

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

◆ ATTRIB() [4/5]

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

◆ ATTRIB() [5/5]

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

◆ ListBox ::clickListBoxItem()

virtual void ListBox::ListBox ::clickListBoxItem ( )
virtualinherited

◆ ListBox ::configureListBox()

virtual void ListBox::ListBox ::configureListBox ( )
virtualinherited

◆ ListBox ::doubleClickListBoxItem()

virtual void ListBox::ListBox ::doubleClickListBoxItem ( )
virtualinherited

◆ ListBox ::draw()

virtual void ListBox::ListBox ::draw ( )
virtualinherited

◆ ListBox ::drawListBoxItem()

virtual void ListBox::ListBox ::drawListBoxItem ( )
virtualinherited

◆ ListBox ::focusedItemChangeNotify()

virtual void ListBox::ListBox ::focusedItemChangeNotify ( )
virtualinherited

◆ ListBox ::focusLeave()

virtual void ListBox::ListBox ::focusLeave ( )
virtualinherited

◆ ListBox ::getFirstFullyVisibleItemAtScrollPos()

virtual void ListBox::ListBox ::getFirstFullyVisibleItemAtScrollPos ( )
virtualinherited

◆ ListBox ::getItemAtPos()

virtual void ListBox::ListBox ::getItemAtPos ( )
virtualinherited

◆ ListBox ::getItemHeight()

virtual void ListBox::ListBox ::getItemHeight ( )
virtualinherited

◆ ListBox ::getItemStart()

virtual void ListBox::ListBox ::getItemStart ( )
virtualinherited

◆ ListBox ::getLastFullyVisibleItemAtScrollPos()

virtual void ListBox::ListBox ::getLastFullyVisibleItemAtScrollPos ( )
virtualinherited

◆ ListBox ::getTotalHeight()

virtual void ListBox::ListBox ::getTotalHeight ( )
virtualinherited

◆ ListBox ::isScrolling()

virtual void ListBox::ListBox ::isScrolling ( )
virtualinherited

◆ ListBox ::keyDown()

virtual void ListBox::ListBox ::keyDown ( )
virtualinherited

◆ ListBox ::mouseDrag()

virtual void ListBox::ListBox ::mouseDrag ( )
virtualinherited

◆ ListBox ::mouseMove()

virtual void ListBox::ListBox ::mouseMove ( )
virtualinherited

◆ ListBox ::mousePress()

virtual void ListBox::ListBox ::mousePress ( )
virtualinherited

◆ ListBox ::mouseRelease()

virtual void ListBox::ListBox ::mouseRelease ( )
virtualinherited

◆ ListBox ::resizeNotify()

virtual void ListBox::ListBox ::resizeNotify ( )
virtualinherited

◆ ListBox ::scrollToItem()

virtual void ListBox::ListBox ::scrollToItem ( )
virtualinherited

◆ ListBox ::setFocusedItem()

virtual void ListBox::ListBox ::setFocusedItem ( )
virtualinherited

◆ ListBox ::setSelected()

virtual void ListBox::ListBox ::setSelected ( )
virtualinherited

◆ ListBox ::updateControlTopBottom()

virtual void ListBox::ListBox ::updateControlTopBottom ( )
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

◆ XonoticListBox ::configureXonoticListBox()

virtual void XonoticListBox::XonoticListBox ::configureXonoticListBox ( )
virtualinherited

◆ XonoticListBox ::resizeNotify()

virtual void XonoticListBox::XonoticListBox ::resizeNotify ( )
virtualinherited

◆ XonoticSoundList ::configureXonoticSoundList()

virtual void XonoticSoundList::XonoticSoundList ::configureXonoticSoundList ( )
virtual

◆ XonoticSoundList ::destroy()

virtual void XonoticSoundList::XonoticSoundList ::destroy ( )
virtual

◆ XonoticSoundList ::doubleClickListBoxItem()

virtual void XonoticSoundList::XonoticSoundList ::doubleClickListBoxItem ( )
virtual

◆ XonoticSoundList ::drawListBoxItem()

virtual void XonoticSoundList::XonoticSoundList ::drawListBoxItem ( )
virtual

◆ XonoticSoundList ::getSounds()

virtual void XonoticSoundList::XonoticSoundList ::getSounds ( )
virtual

◆ XonoticSoundList ::keyDown()

virtual void XonoticSoundList::XonoticSoundList ::keyDown ( )
virtual

◆ XonoticSoundList ::resizeNotify()

virtual void XonoticSoundList::XonoticSoundList ::resizeNotify ( )
virtual

◆ XonoticSoundList ::showNotify()

virtual void XonoticSoundList::XonoticSoundList ::showNotify ( )
virtual

◆ XonoticSoundList ::soundName()

virtual void XonoticSoundList::XonoticSoundList ::soundName ( )
virtual

Member Data Documentation

◆ allowFocusSound

float ListBox::allowFocusSound = 1
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.

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

◆ columnNameOrigin

float XonoticSoundList::columnNameOrigin = 0

Definition at line 18 of file soundlist.qh.

◆ columnNameSize

float XonoticSoundList::columnNameSize = 0

Definition at line 19 of file soundlist.qh.

◆ columnNumberOrigin

float XonoticSoundList::columnNumberOrigin = 0

Definition at line 20 of file soundlist.qh.

◆ columnNumberSize

float XonoticSoundList::columnNumberSize = 0

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

◆ focusable

float ListBox::focusable = 1
inherited

Definition at line 14 of file listbox.qh.

◆ focused

float MenuItem::focused = 0
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 XonoticSoundList::itemAbsSize = '0 0 0'

Definition at line 24 of file soundlist.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.

◆ listSound

int XonoticSoundList::listSound = -1

Definition at line 16 of file soundlist.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

float ListBox::nItems = 42
inherited

Definition at line 46 of file listbox.qh.

◆ origin

vector XonoticSoundList::origin = '0 0 0'

Definition at line 23 of file soundlist.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.

◆ pressOffset

float ListBox::pressOffset = 0
inherited

Definition at line 30 of file listbox.qh.

◆ previousValue

float ListBox::previousValue = 0
inherited

Definition at line 28 of file listbox.qh.

◆ realFontSize

vector XonoticSoundList::realFontSize = '0 0 0'

Definition at line 17 of file soundlist.qh.

◆ realUpperMargin

float XonoticSoundList::realUpperMargin = 0

Definition at line 22 of file soundlist.qh.

◆ rowsPerItem

float XonoticSoundList::rowsPerItem = 1

Definition at line 6 of file soundlist.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.

◆ scrollPosTarget

float ListBox::scrollPosTarget = 0
inherited

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

◆ 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 file: