VGUI: Window.
Top-most window class in VGUILib.
|
| void | vguiWindow (void) |
| |
| nonvirtual void | SetTitle (string) |
| | Set the title of the window widget.
|
| |
| nonvirtual string | GetTitle (void) |
| | Returns the title of the window widget.
|
| |
| nonvirtual void | SetIcon (string) |
| | Sets the icon of the window widget.
|
| |
| nonvirtual string | GetIcon (void) |
| | Returns the icon of the window widget.
|
| |
| nonvirtual void | SetStyleMask (vguiWindowStyle_t) |
| | Sets the style mask of the specified window.
|
| |
| nonvirtual void | CallOnResize (void(void) vFunc) |
| | Called when the window is was resized by the user.
|
| |
| nonvirtual void | CallOnMove (void(void) vFunc) |
| | Called when the window has been repositioned by the user.
|
| |
| nonvirtual bool | Focus (void) |
| | Will focus the window when called.
|
| |
| nonvirtual void | ShowContents () |
| |
| nonvirtual void | HideContents () |
| |
| virtual void | WindowDidMove (vector, vector) |
| | Called when the vguiWindow got moved successfully.
|
| |
| virtual void | WindowDidResize (vector, vector) |
| | Called when the vguiWindow got resized successfully.
|
| |
| virtual void | WindowDidClose (void) |
| | Called when the vguiWindow was successfully closed.
|
| |
| virtual void | Draw (void) |
| | Called in order to draw the widget.
|
| |
| virtual void | SizeChanged (vector, vector) |
| | Called when the size of the widget has changed in any capacity.
|
| |
| virtual bool | Input (float, float, float, float) |
| | Called whenever an input event gets directed to the widget.
|
| |
| virtual void | Spawned (void) |
| | Called when the widget has fully initialized.
|
| |
| virtual void | NowVisible () |
| |
| void vguiWindow::Spawned |
( |
void | | ) |
|
|
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 vguiWidget.
Reimplemented in ncEditorMainFrame, ncSunEdit, and TestUI.