Nuclide
Software Development Kit for id Technology
|
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. More... | |
nonvirtual int | GetTag (void) |
Returns the control tag. More... | |
virtual void | OnMouseEntered (void) |
Called when the mouse starts hovering over this element. More... | |
virtual void | OnMouseExited (void) |
Called when the mouse stops 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... | |
|
virtual |
int VGUIControl::GetTag | ( | void | ) |
Returns the control tag.
Used for identification purposes.
|
virtual |
Called when the mouse starts klicking down on this element.
|
virtual |
Called when the mouse starts hovering over this element.
|
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.
void VGUIControl::SetTag | ( | int | val | ) |
Set the control tag.
Used for identification purposes.