Nuclide
Software Development Kit for id Technology (BETA)
|
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... | |
virtual void | OnMouseEntered (void) |
Called when the mouse starts hovering over this element. More... | |
virtual void | OnMouseDown (void) |
Called when the mouse starts klicking down on this element. More... | |
virtual void | OnMouseUp (void) |
Called when the mouse stops klicking down on this element. 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 when the mouse starts klicking down on this element.
Reimplemented from vguiControl.
|
virtual |
Called when the mouse starts hovering over this element.
Reimplemented from vguiControl.
|
virtual |
Called when the mouse stops klicking down on this element.
This is when actions usually need to be triggered.
Reimplemented from vguiControl.
|
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.