Nuclide
Software Development Kit for id Technology (BETA)
Loading...
Searching...
No Matches
vguiListBox Class Reference

About this class

VGUI Widget: List Box.

A box containing a listing of items. Taking up as much space as any vguiTextBox. When interacted with, gives you the choice of making a selection of an undefined selection of items.

Inheritance diagram for vguiListBox:
vguiWidget

Public Member Functions

void vguiListBox (void)
 
nonvirtual void AddItem (string)
 
nonvirtual void SetItemCount (int)
 
nonvirtual string GetItem (void)
 
nonvirtual void SelectionComplete (string)
 
nonvirtual void ShowPicker (void)
 
virtual void Draw (void)
 Called in order to draw the widget.
 
virtual bool Input (float, float, float, float)
 Called whenever an input event gets directed to the widget.
 
virtual void Spawned (void)
 Called when the widget has fully initialized.
 

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

◆ SelectionComplete()

void vguiListBox::SelectionComplete ( string selectedString)

◆ SetItemCount()

void vguiListBox::SetItemCount ( int itemCount)

◆ ShowPicker()

void vguiListBox::ShowPicker ( void )

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