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