![]() |
Nuclide
Software Development Kit for id Technology (BETA)
|
VGUI Widget: Toggle Button.
Public Member Functions | |
| void | vguiToggleButton (void) |
| nonvirtual void | SetTitle (string) |
| nonvirtual int | GetValue (void) |
| nonvirtual void | SetValue (int) |
| 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... | |
| void vguiToggleButton::vguiToggleButton | ( | void | ) |
|
virtual |
Called in order to draw the widget.
Reimplemented from vguiWidget.
| int vguiToggleButton::GetValue | ( | void | ) |
|
virtual |
Called whenever an input event gets directed to the widget.
Reimplemented from vguiWidget.
| void vguiToggleButton::SetTitle | ( | string | strName | ) |
| void vguiToggleButton::SetValue | ( | int | iValue | ) |
|
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.