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

Public Member Functions

 ATTRIB (MenuItem, parent, entity)
 
 ATTRIB (MenuItem, tooltip, string)
 
 ATTRIB (XonoticCampaignList, controlledCvar, string)
 
 ATTRIB (ListBox, src, string)
 
 ATTRIB (XonoticCampaignList, buttonNext, entity)
 
 ATTRIB (XonoticCampaignList, buttonPrev, entity)
 
 ATTRIB (XonoticCampaignList, labelTitle, entity)
 
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 XonoticCampaignList ::campaignGo ()
 
virtual void XonoticCampaignList ::configureXonoticCampaignList ()
 
virtual void XonoticCampaignList ::destroy ()
 
virtual void XonoticCampaignList ::doubleClickListBoxItem ()
 
virtual void XonoticCampaignList ::draw ()
 
virtual void XonoticCampaignList ::drawListBoxItem ()
 
virtual void XonoticCampaignList ::keyDown ()
 
virtual void XonoticCampaignList ::loadCvars ()
 
virtual void XonoticCampaignList ::resizeNotify ()
 
virtual void XonoticCampaignList ::saveCvars ()
 
virtual void XonoticCampaignList ::setSelected ()
 
virtual void XonoticListBox ::configureXonoticListBox ()
 
virtual void XonoticListBox ::resizeNotify ()
 

Public Attributes

float allowFocusSound = 1
 
float alphaBG = SKINALPHA_LISTBOX_BACKGROUND
 
float campaignGlob = 0
 
float campaignIndex = 0
 
vector checkMarkOrigin = '0 0 0'
 
vector checkMarkSize = '0 0 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 columnCheckMarkOrigin = 0
 
float columnCheckMarkSize = 0
 
float columnNameOrigin = 0
 
float columnNameSize = 0
 
float columnPreviewOrigin = 0
 
float columnPreviewSize = 0
 
float controlBottom = 0
 
float controlTop = 0
 
float controlWidth = 0
 
vector dragScrollPos = '0 0 0'
 
float emptyLineHeight = 0.5
 
float focusable = 1
 
float focused = 0
 
int focusedItem = -1
 
float focusedItemAlpha = 0.3
 
float fontSize = SKINFONTSIZE_NORMAL
 
bool hasNextCampaign = false
 
bool hasPrevCampaign = false
 
vector itemAbsSize = '0 0 0'
 
float itemHeight = 0
 
float lastClickedItem = -1
 
float lastClickedTime = 0
 
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 realUpperMargin1 = 0
 
float realUpperMargin2 = 0
 
float rowsPerItem = 10
 
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'
 
vector typeIconOrigin = '0 0 0'
 
vector typeIconSize = '0 0 0'
 

Detailed Description

Definition at line 4 of file campaign.qh.

Member Function Documentation

◆ ATTRIB() [1/7]

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

◆ ATTRIB() [2/7]

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

◆ ATTRIB() [3/7]

XonoticCampaignList::ATTRIB ( XonoticCampaignList  ,
controlledCvar  ,
string   
)

◆ ATTRIB() [4/7]

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

◆ ATTRIB() [5/7]

XonoticCampaignList::ATTRIB ( XonoticCampaignList  ,
buttonNext  ,
entity   
)

◆ ATTRIB() [6/7]

XonoticCampaignList::ATTRIB ( XonoticCampaignList  ,
buttonPrev  ,
entity   
)

◆ ATTRIB() [7/7]

XonoticCampaignList::ATTRIB ( XonoticCampaignList  ,
labelTitle  ,
entity   
)

◆ 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

◆ XonoticCampaignList ::campaignGo()

virtual void XonoticCampaignList::XonoticCampaignList ::campaignGo ( )
virtual

◆ XonoticCampaignList ::configureXonoticCampaignList()

virtual void XonoticCampaignList::XonoticCampaignList ::configureXonoticCampaignList ( )
virtual

◆ XonoticCampaignList ::destroy()

virtual void XonoticCampaignList::XonoticCampaignList ::destroy ( )
virtual

◆ XonoticCampaignList ::doubleClickListBoxItem()

virtual void XonoticCampaignList::XonoticCampaignList ::doubleClickListBoxItem ( )
virtual

◆ XonoticCampaignList ::draw()

virtual void XonoticCampaignList::XonoticCampaignList ::draw ( )
virtual

◆ XonoticCampaignList ::drawListBoxItem()

virtual void XonoticCampaignList::XonoticCampaignList ::drawListBoxItem ( )
virtual

◆ XonoticCampaignList ::keyDown()

virtual void XonoticCampaignList::XonoticCampaignList ::keyDown ( )
virtual

◆ XonoticCampaignList ::loadCvars()

virtual void XonoticCampaignList::XonoticCampaignList ::loadCvars ( )
virtual

◆ XonoticCampaignList ::resizeNotify()

virtual void XonoticCampaignList::XonoticCampaignList ::resizeNotify ( )
virtual

◆ XonoticCampaignList ::saveCvars()

virtual void XonoticCampaignList::XonoticCampaignList ::saveCvars ( )
virtual

◆ XonoticCampaignList ::setSelected()

virtual void XonoticCampaignList::XonoticCampaignList ::setSelected ( )
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.

◆ campaignGlob

float XonoticCampaignList::campaignGlob = 0

Definition at line 16 of file campaign.qh.

◆ campaignIndex

float XonoticCampaignList::campaignIndex = 0

Definition at line 35 of file campaign.qh.

◆ checkMarkOrigin

vector XonoticCampaignList::checkMarkOrigin = '0 0 0'

Definition at line 24 of file campaign.qh.

◆ checkMarkSize

vector XonoticCampaignList::checkMarkSize = '0 0 0'

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

◆ columnCheckMarkOrigin

float XonoticCampaignList::columnCheckMarkOrigin = 0

Definition at line 22 of file campaign.qh.

◆ columnCheckMarkSize

float XonoticCampaignList::columnCheckMarkSize = 0

Definition at line 23 of file campaign.qh.

◆ columnNameOrigin

float XonoticCampaignList::columnNameOrigin = 0

Definition at line 20 of file campaign.qh.

◆ columnNameSize

float XonoticCampaignList::columnNameSize = 0

Definition at line 21 of file campaign.qh.

◆ columnPreviewOrigin

float XonoticCampaignList::columnPreviewOrigin = 0

Definition at line 18 of file campaign.qh.

◆ columnPreviewSize

float XonoticCampaignList::columnPreviewSize = 0

Definition at line 19 of file campaign.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.

◆ emptyLineHeight

float XonoticCampaignList::emptyLineHeight = 0.5

Definition at line 33 of file campaign.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.

◆ hasNextCampaign

bool XonoticCampaignList::hasNextCampaign = false

Definition at line 39 of file campaign.qh.

◆ hasPrevCampaign

bool XonoticCampaignList::hasPrevCampaign = false

Definition at line 40 of file campaign.qh.

◆ itemAbsSize

vector XonoticCampaignList::itemAbsSize = '0 0 0'

Definition at line 32 of file campaign.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

float ListBox::nItems = 42
inherited

Definition at line 46 of file listbox.qh.

◆ origin

vector XonoticCampaignList::origin = '0 0 0'

Definition at line 31 of file campaign.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 XonoticCampaignList::realFontSize = '0 0 0'

Definition at line 17 of file campaign.qh.

◆ realUpperMargin1

float XonoticCampaignList::realUpperMargin1 = 0

Definition at line 28 of file campaign.qh.

◆ realUpperMargin2

float XonoticCampaignList::realUpperMargin2 = 0

Definition at line 29 of file campaign.qh.

◆ rowsPerItem

float XonoticCampaignList::rowsPerItem = 10

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

◆ typeIconOrigin

vector XonoticCampaignList::typeIconOrigin = '0 0 0'

Definition at line 26 of file campaign.qh.

◆ typeIconSize

vector XonoticCampaignList::typeIconSize = '0 0 0'

Definition at line 27 of file campaign.qh.


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