Nuclide
Software Development Kit for id Technology
VGUILabel Class Reference

About this class

VGUI Widget: Label.

Inheritance diagram for VGUILabel:
VGUIWidget VGUIMenuTitle

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)
 
virtual void SetAlignment (float)
 

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.

Reimplemented in VGUIMenuTitle.

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

Reimplemented in VGUIMenuTitle.

◆ SetAlignment()

void VGUILabel::SetAlignment ( float  alignment)
virtual

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