Nuclide
Software Development Kit for id Technology (BETA)
vguiList Class Reference

About this class

VGUI Widget: List.

Inheritance diagram for vguiList:
vguiWidget vguiImageList

Public Member Functions

void vguiList (void)
 
nonvirtual void SetOffset (int, int)
 
nonvirtual void SetSelected (int)
 
nonvirtual int GetSelected (void)
 
nonvirtual int GetMaxVisibleItems (void)
 
nonvirtual void AddItem (string)
 
nonvirtual string GetItem (int)
 
nonvirtual void SetItemCount (int)
 
nonvirtual int MaxItems (void)
 
nonvirtual int GetItemCount (void)
 
nonvirtual void RemoveAllItems (void)
 
nonvirtual int GetOffset (void)
 
nonvirtual void CallOnScroll (void(vguiWidget sender))
 
nonvirtual void CallOnDoubleClick (void(vguiWidget sender))
 
nonvirtual void CallOnDoubleClickWithDelegate (void(vguiWidget sender), vguiWidget theDelegate)
 
nonvirtual void CallOnSelectionChanged (void(vguiWidget sender))
 
nonvirtual void CallOnSelectionChangedWithDelegate (void(vguiWidget sender), vguiWidget theDelegate)
 
nonvirtual void CallOnScrollWithDelegate (void(vguiWidget sender) a, vguiWidget theDelegate)
 
nonvirtual void CallOnSelectionChangedWithDelegate (void(vguiWidget sender) a, vguiWidget theDelegate)
 
virtual void Draw (void)
 Called in order to draw the widget. More...
 
virtual bool Input (float, float, float, float)
 Called whenever an input event gets directed to the widget. More...
 
virtual void Spawned (void)
 Called when the widget has fully initialized. More...
 

Constructor & Destructor Documentation

◆ vguiList()

void vguiList::vguiList ( void  )

Member Function Documentation

◆ AddItem()

void vguiList::AddItem ( string  strItem)

◆ CallOnDoubleClick()

void vguiList::CallOnDoubleClick ( void(vguiWidget sender)  vFunc)

◆ CallOnDoubleClickWithDelegate()

void vguiList::CallOnDoubleClickWithDelegate ( void(vguiWidget sender)  vFunc,
vguiWidget  theDelegate 
)

◆ CallOnScroll()

void vguiList::CallOnScroll ( void(vguiWidget sender)  vFunc)

◆ CallOnScrollWithDelegate()

void vguiList::CallOnScrollWithDelegate ( void(vguiWidget sender)  a,
vguiWidget  theDelegate 
)

◆ CallOnSelectionChanged()

void vguiList::CallOnSelectionChanged ( void(vguiWidget sender)  vFunc)

◆ CallOnSelectionChangedWithDelegate() [1/2]

nonvirtual void vguiList::CallOnSelectionChangedWithDelegate ( void(vguiWidget sender)  a,
vguiWidget  theDelegate 
)

◆ CallOnSelectionChangedWithDelegate() [2/2]

void vguiList::CallOnSelectionChangedWithDelegate ( void(vguiWidget sender)  vFunc,
vguiWidget  theDelegate 
)

◆ Draw()

void vguiList::Draw ( void  )
virtual

Called in order to draw the widget.

Reimplemented from vguiWidget.

Reimplemented in vguiImageList.

◆ GetItem()

string vguiList::GetItem ( int  iIndex)

◆ GetItemCount()

int vguiList::GetItemCount ( void  )

◆ GetMaxVisibleItems()

int vguiList::GetMaxVisibleItems ( void  )

◆ GetOffset()

int vguiList::GetOffset ( void  )

◆ GetSelected()

int vguiList::GetSelected ( void  )

◆ Input()

bool vguiList::Input ( float  flEVType,
float  flKey,
float  flChar,
float  flDevID 
)
virtual

Called whenever an input event gets directed to the widget.

Reimplemented from vguiWidget.

◆ MaxItems()

int vguiList::MaxItems ( void  )

◆ RemoveAllItems()

void vguiList::RemoveAllItems ( void  )

◆ SetItemCount()

void vguiList::SetItemCount ( int  iCount)

◆ SetOffset()

void vguiList::SetOffset ( int  iOffset,
int  iCallBack 
)

◆ SetSelected()

void vguiList::SetSelected ( int  iVal)

◆ Spawned()

void vguiList::Spawned ( void  )
virtual

Called when the widget has fully initialized.

When you override this, you may call super::Spawned(); to ensure the parent classes get to finish initializing also.

Reimplemented from vguiWidget.


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