![]() |
Nuclide
Software Development Kit for id Technology (BETA)
|
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.
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. | |
void vguiListBox::vguiListBox | ( | void | ) |
void vguiListBox::AddItem | ( | string | strItem | ) |
|
virtual |
Called in order to draw the widget.
Reimplemented from vguiWidget.
string vguiListBox::GetItem | ( | void | ) |
|
virtual |
Called whenever an input event gets directed to the widget.
Reimplemented from vguiWidget.
void vguiListBox::SelectionComplete | ( | string | selectedString | ) |
void vguiListBox::SetItemCount | ( | int | itemCount | ) |
void vguiListBox::ShowPicker | ( | 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.