Nuclide
Software Development Kit for id Tech
VGUILabel Class Reference

VGUI Widget: Label. More...

Inheritance diagram for VGUILabel:
VGUIWidget

Public Member Functions

void VGUILabel (void)
 
nonvirtual void SetTitle (string)
 
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...
 
virtual void SetTextSize (int)
 

Detailed Description

VGUI Widget: Label.

Constructor & Destructor Documentation

◆ VGUILabel()

void VGUILabel::VGUILabel ( void  )

Member Function Documentation

◆ Draw()

void VGUILabel::Draw ( void  )
virtual

Called in order to draw the widget.

Reimplemented from VGUIWidget.

◆ Input()

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

Called whenever an input event gets directed to the widget.

Reimplemented from VGUIWidget.

◆ SetTextSize()

void VGUILabel::SetTextSize ( int  val)
virtual

◆ SetTitle()

void VGUILabel::SetTitle ( string  strName)

◆ Spawned()

void VGUILabel::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: