Nuclide
Software Development Kit for id Technology (BETA)
|
VGUI Widget: Picture Frame.
Public Member Functions | |
void | vguiPic (void) |
virtual void | Draw (void) |
Called in order to draw the widget. 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... | |
nonvirtual void | SetImage (string) |
nonvirtual string | GetImage (void) |
nonvirtual void | SetBorder (int) |
nonvirtual int | GetBorder (void) |
nonvirtual void | AdjustBounds (void) |
void vguiPic::vguiPic | ( | void | ) |
void vguiPic::AdjustBounds | ( | void | ) |
|
virtual |
Called in order to draw the widget.
Reimplemented from vguiWidget.
int vguiPic::GetBorder | ( | void | ) |
string vguiPic::GetImage | ( | void | ) |
|
virtual |
Called whenever an input event gets directed to the widget.
Reimplemented from vguiWidget.
void vguiPic::SetBorder | ( | int | thickness | ) |
void vguiPic::SetImage | ( | string | strName | ) |
|
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.