Nuclide
Software Development Kit for id Technology
|
VGUI Widget: Menu Button.
Public Member Functions | |
void | VGUIMenuButton (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... | |
virtual void | Reposition (void) |
Called whenever the physical properties of the display change. More... | |
nonvirtual void | SetPosition (int) |
void VGUIMenuButton::VGUIMenuButton | ( | void | ) |
|
virtual |
Called in order to draw the widget.
Reimplemented from VGUIButton.
|
virtual |
Called whenever an input event gets directed to the widget.
Reimplemented from VGUIButton.
|
virtual |
Called whenever the physical properties of the display change.
Reimplemented from VGUIWidget.
void VGUIMenuButton::SetPosition | ( | int | newPosition | ) |
|
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 VGUIButton.