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

About this class

VGUI Widget: Picture Frame.

Inheritance diagram for vguiPic:
vguiWidget

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)
 

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.

◆ 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.

◆ SetBorder()

void vguiPic::SetBorder ( int  thickness)

◆ 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: