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

Public Member Functions

 ATTRIB (XonoticDemoList, filterString, string)
 
 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 XonoticDemoList ::configureXonoticDemoList ()
 
virtual void XonoticDemoList ::demoName ()
 
virtual void XonoticDemoList ::destroy ()
 
virtual void XonoticDemoList ::doubleClickListBoxItem ()
 
virtual void XonoticDemoList ::drawListBoxItem ()
 
virtual void XonoticDemoList ::getDemos ()
 
virtual void XonoticDemoList ::keyDown ()
 
virtual void XonoticDemoList ::resizeNotify ()
 
virtual void XonoticDemoList ::showNotify ()
 
virtual void XonoticDemoList ::startDemo ()
 
virtual void XonoticDemoList ::timeDemo ()
 
virtual void XonoticListBox ::configureXonoticListBox ()
 
virtual void XonoticListBox ::resizeNotify ()
 

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 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
 
float listDemo = -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 5 of file demolist.qh.

Member Function Documentation

◆ ATTRIB() [1/4]

XonoticDemoList::ATTRIB ( XonoticDemoList  ,
filterString  ,
string   
)

◆ ATTRIB() [2/4]

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

◆ ATTRIB() [3/4]

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

◆ ATTRIB() [4/4]

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

◆ XonoticDemoList ::configureXonoticDemoList()

virtual void XonoticDemoList::XonoticDemoList ::configureXonoticDemoList ( )
virtual

◆ XonoticDemoList ::demoName()

virtual void XonoticDemoList::XonoticDemoList ::demoName ( )
virtual

◆ XonoticDemoList ::destroy()

virtual void XonoticDemoList::XonoticDemoList ::destroy ( )
virtual

◆ XonoticDemoList ::doubleClickListBoxItem()

virtual void XonoticDemoList::XonoticDemoList ::doubleClickListBoxItem ( )
virtual

◆ XonoticDemoList ::drawListBoxItem()

virtual void XonoticDemoList::XonoticDemoList ::drawListBoxItem ( )
virtual

◆ XonoticDemoList ::getDemos()

virtual void XonoticDemoList::XonoticDemoList ::getDemos ( )
virtual

◆ XonoticDemoList ::keyDown()

virtual void XonoticDemoList::XonoticDemoList ::keyDown ( )
virtual

◆ XonoticDemoList ::resizeNotify()

virtual void XonoticDemoList::XonoticDemoList ::resizeNotify ( )
virtual

◆ XonoticDemoList ::showNotify()

virtual void XonoticDemoList::XonoticDemoList ::showNotify ( )
virtual

◆ XonoticDemoList ::startDemo()

virtual void XonoticDemoList::XonoticDemoList ::startDemo ( )
virtual

◆ XonoticDemoList ::timeDemo()

virtual void XonoticDemoList::XonoticDemoList ::timeDemo ( )
virtual

◆ XonoticListBox ::configureXonoticListBox()

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

◆ XonoticListBox ::resizeNotify()

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

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 XonoticDemoList::columnNameOrigin = 0

Definition at line 21 of file demolist.qh.

◆ columnNameSize

float XonoticDemoList::columnNameSize = 0

Definition at line 22 of file demolist.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 XonoticDemoList::itemAbsSize = '0 0 0'

Definition at line 25 of file demolist.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.

◆ listDemo

float XonoticDemoList::listDemo = -1

Definition at line 19 of file demolist.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 XonoticDemoList::origin = '0 0 0'

Definition at line 24 of file demolist.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 XonoticDemoList::realFontSize = '0 0 0'

Definition at line 20 of file demolist.qh.

◆ realUpperMargin

float XonoticDemoList::realUpperMargin = 0

Definition at line 23 of file demolist.qh.

◆ rowsPerItem

float XonoticDemoList::rowsPerItem = 1

Definition at line 7 of file demolist.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: