![]() |
Nuclide
Software Development Kit for id Technology (BETA)
|
VGUI: Abstract Control Class.
This is an abstract control class for various VGUI related widgets.
Public Member Functions | |
| virtual void | vguiControl (void) |
| nonvirtual void | SetTag (int) |
| Set the control tag. | |
| nonvirtual int | GetTag (void) |
| Returns the control tag. | |
| virtual void | OnMouseEntered (void) |
| Called when the mouse starts hovering over this element. | |
| virtual void | OnMouseExited (void) |
| Called when the mouse stops hovering over this element. | |
| virtual void | OnMouseDown (void) |
| Called when the mouse starts klicking down on this element. | |
| virtual void | OnMouseUp (void) |
| Called when the mouse stops klicking down on this element. | |
|
virtual |
| int vguiControl::GetTag | ( | void | ) |
Returns the control tag.
Used for identification purposes.
|
virtual |
Called when the mouse starts klicking down on this element.
Reimplemented in vguiMenuButton.
|
virtual |
Called when the mouse starts hovering over this element.
Reimplemented in vguiMenuButton.
|
virtual |
Called when the mouse stops hovering over this element.
|
virtual |
Called when the mouse stops klicking down on this element.
This is when actions usually need to be triggered.
Reimplemented in vguiMenuButton.
| void vguiControl::SetTag | ( | int | val | ) |
Set the control tag.
Used for identification purposes.