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

Public Member Functions

 ATTRIB (XonoticKeyBinder, userbindEditButton, entity)
 
 ATTRIB (MenuItem, parent, entity)
 
 ATTRIB (XonoticKeyBinder, keyGrabButton, entity)
 
 ATTRIB (XonoticKeyBinder, clearButton, entity)
 
 ATTRIB (XonoticKeyBinder, userbindEditDialog, entity)
 
 ATTRIB (XonoticKeyBinder, bindingsResetDialog, 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 XonoticKeyBinder ::configureXonoticKeyBinder ()
 
virtual void XonoticKeyBinder ::destroy ()
 
virtual void XonoticKeyBinder ::doubleClickListBoxItem ()
 
virtual void XonoticKeyBinder ::drawListBoxItem ()
 
virtual void XonoticKeyBinder ::editUserbind ()
 
virtual void XonoticKeyBinder ::keyDown ()
 
virtual void XonoticKeyBinder ::keyGrabbed ()
 
virtual void XonoticKeyBinder ::loadKeyBinds ()
 
virtual void XonoticKeyBinder ::resizeNotify ()
 
virtual void XonoticKeyBinder ::setSelected ()
 
virtual void XonoticKeyBinder ::showNotify ()
 
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 columnFunctionOrigin = 0
 
float columnFunctionSize = 0
 
float columnKeysOrigin = 0
 
float columnKeysSize = 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
 
float inMouseHandler = 0
 
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
 
int previouslySelected = -1
 
float previousValue = 0
 
vector realFontSize = '0 0 0'
 
float realUpperMargin = 0
 
int 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 keybinder.qh.

Member Function Documentation

◆ ATTRIB() [1/8]

XonoticKeyBinder::ATTRIB ( XonoticKeyBinder  ,
userbindEditButton  ,
entity   
)

◆ ATTRIB() [2/8]

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

◆ ATTRIB() [3/8]

XonoticKeyBinder::ATTRIB ( XonoticKeyBinder  ,
keyGrabButton  ,
entity   
)

◆ ATTRIB() [4/8]

XonoticKeyBinder::ATTRIB ( XonoticKeyBinder  ,
clearButton  ,
entity   
)

◆ ATTRIB() [5/8]

XonoticKeyBinder::ATTRIB ( XonoticKeyBinder  ,
userbindEditDialog  ,
entity   
)

◆ ATTRIB() [6/8]

XonoticKeyBinder::ATTRIB ( XonoticKeyBinder  ,
bindingsResetDialog  ,
entity   
)

◆ ATTRIB() [7/8]

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

◆ ATTRIB() [8/8]

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

◆ XonoticKeyBinder ::configureXonoticKeyBinder()

virtual void XonoticKeyBinder::XonoticKeyBinder ::configureXonoticKeyBinder ( )
virtual

◆ XonoticKeyBinder ::destroy()

virtual void XonoticKeyBinder::XonoticKeyBinder ::destroy ( )
virtual

◆ XonoticKeyBinder ::doubleClickListBoxItem()

virtual void XonoticKeyBinder::XonoticKeyBinder ::doubleClickListBoxItem ( )
virtual

◆ XonoticKeyBinder ::drawListBoxItem()

virtual void XonoticKeyBinder::XonoticKeyBinder ::drawListBoxItem ( )
virtual

◆ XonoticKeyBinder ::editUserbind()

virtual void XonoticKeyBinder::XonoticKeyBinder ::editUserbind ( )
virtual

◆ XonoticKeyBinder ::keyDown()

virtual void XonoticKeyBinder::XonoticKeyBinder ::keyDown ( )
virtual

◆ XonoticKeyBinder ::keyGrabbed()

virtual void XonoticKeyBinder::XonoticKeyBinder ::keyGrabbed ( )
virtual

◆ XonoticKeyBinder ::loadKeyBinds()

virtual void XonoticKeyBinder::XonoticKeyBinder ::loadKeyBinds ( )
virtual

◆ XonoticKeyBinder ::resizeNotify()

virtual void XonoticKeyBinder::XonoticKeyBinder ::resizeNotify ( )
virtual

◆ XonoticKeyBinder ::setSelected()

virtual void XonoticKeyBinder::XonoticKeyBinder ::setSelected ( )
virtual

◆ XonoticKeyBinder ::showNotify()

virtual void XonoticKeyBinder::XonoticKeyBinder ::showNotify ( )
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.

◆ columnFunctionOrigin

float XonoticKeyBinder::columnFunctionOrigin = 0

Definition at line 18 of file keybinder.qh.

◆ columnFunctionSize

float XonoticKeyBinder::columnFunctionSize = 0

Definition at line 19 of file keybinder.qh.

◆ columnKeysOrigin

float XonoticKeyBinder::columnKeysOrigin = 0

Definition at line 20 of file keybinder.qh.

◆ columnKeysSize

float XonoticKeyBinder::columnKeysSize = 0

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

◆ inMouseHandler

float XonoticKeyBinder::inMouseHandler = 0

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

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

◆ pressOffset

float ListBox::pressOffset = 0
inherited

Definition at line 30 of file listbox.qh.

◆ previouslySelected

int XonoticKeyBinder::previouslySelected = -1

Definition at line 24 of file keybinder.qh.

◆ previousValue

float ListBox::previousValue = 0
inherited

Definition at line 28 of file listbox.qh.

◆ realFontSize

vector XonoticKeyBinder::realFontSize = '0 0 0'

Definition at line 16 of file keybinder.qh.

◆ realUpperMargin

float XonoticKeyBinder::realUpperMargin = 0

Definition at line 17 of file keybinder.qh.

◆ rowsPerItem

int XonoticKeyBinder::rowsPerItem = 1

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