Nuclide
Software Development Kit for id Tech
|
VGUI Widget: List Box. More...
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... | |
VGUI Widget: List Box.
Called in order to draw the widget.
Reimplemented from VGUIWidget.
string VGUIListBox::GetItem | ( | int | iIndex | ) |
int VGUIListBox::GetSelected | ( | void | ) |
Called whenever an input event gets directed to the widget.
Reimplemented from VGUIWidget.
void VGUIListBox::SetItemCount | ( | int | iCount | ) |
void VGUIListBox::SetOffset | ( | int | iOffset | ) |
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.