Nuclide
Software Development Kit for id Technology (BETA)
vguiPic Class Reference

About this class

VGUI Widget: Picture Frame.

Inheritance diagram for vguiPic:
vguiWidget vguiAudioStream vguiWebView vguiXView

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 void SetColor (vector)
 
nonvirtual string GetImage (void)
 
nonvirtual void SetBorder (int)
 
nonvirtual int GetBorder (void)
 
nonvirtual void AdjustBounds (void)
 
virtual void ReloadVideoResources (void)
 

Constructor & Destructor Documentation

◆ vguiPic()

void vguiPic::vguiPic ( void  )

Member Function Documentation

◆ AdjustBounds()

void vguiPic::AdjustBounds ( void  )

◆ Draw()

void vguiPic::Draw ( void  )
virtual

Called in order to draw the widget.

Reimplemented from vguiWidget.

Reimplemented in vguiXView.

◆ GetBorder()

int vguiPic::GetBorder ( void  )

◆ GetImage()

string vguiPic::GetImage ( void  )

◆ Input()

bool vguiPic::Input ( float  flEVType,
float  flKey,
float  flChar,
float  flDevID 
)
virtual

Called whenever an input event gets directed to the widget.

Reimplemented from vguiWidget.

Reimplemented in vguiAudioStream, vguiWebView, and vguiXView.

◆ ReloadVideoResources()

void vguiPic::ReloadVideoResources ( void  )
virtual

Reimplemented from vguiWidget.

Reimplemented in vguiWebView.

◆ SetBorder()

void vguiPic::SetBorder ( int  thickness)

◆ SetColor()

void vguiPic::SetColor ( vector  colorTint)

◆ SetImage()

void vguiPic::SetImage ( string  strName)

◆ Spawned()

void vguiPic::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.


The documentation for this class was generated from the following file: