Nuclide
Software Development Kit for id Tech
VGUIListBox Class Reference

VGUI Widget: List Box. More...

Inheritance diagram for VGUIListBox:
VGUIWidget

Public Member Functions

void VGUIListBox (void)
 
nonvirtual void SetOffset (int)
 
nonvirtual void AddItem (string)
 
nonvirtual void SetItemCount (int)
 
nonvirtual string GetItem (int)
 
nonvirtual int GetSelected (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...
 

Detailed Description

VGUI Widget: List Box.

Constructor & Destructor Documentation

◆ VGUIListBox()

void VGUIListBox::VGUIListBox ( void  )

Member Function Documentation

◆ AddItem()

void VGUIListBox::AddItem ( string  strItem)

◆ Draw()

void VGUIListBox::Draw ( void  )
virtual

Called in order to draw the widget.

Reimplemented from VGUIWidget.

◆ GetItem()

string VGUIListBox::GetItem ( int  iIndex)

◆ GetSelected()

int VGUIListBox::GetSelected ( void  )

◆ Input()

bool VGUIListBox::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 VGUIListBox::SetItemCount ( int  iCount)

◆ SetOffset()

void VGUIListBox::SetOffset ( int  iOffset)

◆ Spawned()

void VGUIListBox::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: