![]() |
Nuclide
Software Development Kit for id Technology (BETA)
|
VGUI: Window.
Top-most window class in VGUILib.
Public Member Functions | |
| void | vguiWindow (void) |
| nonvirtual void | SetTitle (string) |
| Set the title of the window widget. More... | |
| nonvirtual string | GetTitle (void) |
| Returns the title of the window widget. More... | |
| nonvirtual void | SetIcon (string) |
| Sets the icon of the window widget. More... | |
| nonvirtual string | GetIcon (void) |
| Returns the icon of the window widget. More... | |
| nonvirtual void | SetStyleMask (vguiWindowStyle_t) |
| Sets the style mask of the specified window. More... | |
| nonvirtual void | CallOnResize (void(void) vFunc) |
| Called when the window is was resized by the user. More... | |
| nonvirtual void | CallOnMove (void(void) vFunc) |
| Called when the window has been repositioned by the user. More... | |
| nonvirtual bool | Focus (void) |
| Will focus the window when called. More... | |
| nonvirtual void | ShowContents () |
| nonvirtual void | HideContents () |
| virtual void | WindowDidMove (vector, vector) |
| Called when the vguiWindow got moved successfully. More... | |
| virtual void | WindowDidResize (vector, vector) |
| Called when the vguiWindow got resized successfully. More... | |
| virtual void | WindowDidClose (void) |
| Called when the vguiWindow was successfully closed. More... | |
| virtual void | Draw (void) |
| Called in order to draw the widget. More... | |
| virtual void | SizeChanged (vector, vector) |
| Called when the size of the widget has changed in any capacity. 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 | NowVisible () |
| void vguiWindow::vguiWindow | ( | void | ) |
| void vguiWindow::CallOnMove | ( | void(void) | vFunc | ) |
Called when the window has been repositioned by the user.
| void vguiWindow::CallOnResize | ( | void(void) | vFunc | ) |
Called when the window is was resized by the user.
|
virtual |
Called in order to draw the widget.
Reimplemented from vguiView.
| bool vguiWindow::Focus | ( | void | ) |
Will focus the window when called.
| string vguiWindow::GetIcon | ( | void | ) |
Returns the icon of the window widget.
| string vguiWindow::GetTitle | ( | void | ) |
Returns the title of the window widget.
| void vguiWindow::HideContents | ( | void | ) |
|
virtual |
Called whenever an input event gets directed to the widget.
Reimplemented from vguiView.
|
virtual |
Reimplemented from vguiWidget.
| void vguiWindow::SetIcon | ( | string | strName | ) |
Sets the icon of the window widget.
| void vguiWindow::SetStyleMask | ( | vguiWindowStyle_t | val | ) |
Sets the style mask of the specified window.
| void vguiWindow::SetTitle | ( | string | strName | ) |
Set the title of the window widget.
| void vguiWindow::ShowContents | ( | void | ) |
|
virtual |
Called when the size of the widget has changed in any capacity.
Reimplemented from vguiWidget.
|
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, and ncSunEdit.
|
virtual |
Called when the vguiWindow was successfully closed.
|
virtual |
Called when the vguiWindow got moved successfully.
|
virtual |
Called when the vguiWindow got resized successfully.