![]() |
Nuclide
Software Development Kit for id Technology (BETA)
|
VGUI: Editor Desktop.
A simple desktop, that can be called upon or stuck onto surfaces.
Public Member Functions | |
| void | vguiDesktop_Editor (void) |
| virtual void | Draw (void) |
| Called in order to draw the widget. More... | |
| virtual void | Spawned (void) |
| Called when the widget has fully initialized. More... | |
| virtual bool | Input (float flEVType, float flKey, float flChar, float flDevID) |
| Called whenever an input event gets directed to the widget. More... | |
| nonvirtual void | UpdateSelectionOrigin (vector) |
| nonvirtual void | SetSelectionEntity (string entityClass) |
| nonvirtual void | SetSelectionProfileItem (string itemName, profileItem_t itemType) |
| nonvirtual void | SetSelectionURLItem (string itemURL, string itemType, string groupName) |
| void vguiDesktop_Editor::vguiDesktop_Editor | ( | void | ) |
|
virtual |
Called in order to draw the widget.
Reimplemented from vguiDesktop.
Reimplemented in vguiDesktop_Home.
|
virtual |
Called whenever an input event gets directed to the widget.
Reimplemented from vguiDesktop.
| void vguiDesktop_Editor::SetSelectionEntity | ( | string | entityClass | ) |
| void vguiDesktop_Editor::SetSelectionProfileItem | ( | string | itemName, |
| profileItem_t | itemType | ||
| ) |
| void vguiDesktop_Editor::SetSelectionURLItem | ( | string | itemURL, |
| string | itemType, | ||
| string | groupName | ||
| ) |
|
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 vguiDesktop.
Reimplemented in vguiDesktop_Home.
| void vguiDesktop_Editor::UpdateSelectionOrigin | ( | vector | mousePos | ) |