Nuclide
Software Development Kit for id Tech
VGUIList Class Reference
Inheritance diagram for VGUIList:
VGUIWidget

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 GetItemCount (void)
 
nonvirtual int GetOffset (void)
 
nonvirtual void CallOnScroll (void(void))
 
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)

◆ CallOnScroll()

void VGUIList::CallOnScroll ( void(void vFunc)

◆ Draw()

void VGUIList::Draw ( void  )
virtual

Called in order to draw the widget.

Reimplemented from VGUIWidget.

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

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