Nuclide
Software Development Kit for id Tech
|
VGUI: Window. More...
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 () |
VGUI: Window.
Top-most window class in VGUILib.
Called when the window has been repositioned by the user.
Called when the window is was resized by the user.
Called in order to draw the widget.
Reimplemented from VGUIView.
bool VGUIWindow::Focus | ( | void | ) |
Will focus the window when called.
Called whenever an input event gets directed to the widget.
Reimplemented from VGUIView.
Reimplemented from VGUIWidget.
void VGUIWindow::SetStyleMask | ( | vguiWindowStyle_t | val | ) |
Sets the style mask of the specified window.
|
virtual |
Called when the size of the widget has changed in any capacity.
Reimplemented from VGUIWidget.
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.
Called when the VGUIWindow was successfully closed.
|
virtual |
Called when the VGUIWindow got moved successfully.
|
virtual |
Called when the VGUIWindow got resized successfully.