Nuclide
Software Development Kit for id Technology
|
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... | |
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 |
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.
|
virtual |
Called whenever an input event gets directed to the widget.
Reimplemented from VGUIView.
Reimplemented in VGUIConsole.
|
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.
|
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 VGUIConsole.
|
virtual |
Called when the VGUIWindow was successfully closed.
|
virtual |
Called when the VGUIWindow got moved successfully.
|
virtual |
Called when the VGUIWindow got resized successfully.