Nuclide
Software Development Kit for id Tech
VGUICheckbox Class Reference

VGUI Widget: Checkbox. More...

Inheritance diagram for VGUICheckbox:
VGUIWidget

Public Member Functions

void VGUICheckbox (void)
 
nonvirtual void SetTitle (string)
 
nonvirtual int GetValue (void)
 
nonvirtual void SetValue (int)
 
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...
 

Detailed Description

VGUI Widget: Checkbox.

Constructor & Destructor Documentation

◆ VGUICheckbox()

void VGUICheckbox::VGUICheckbox ( void  )

Member Function Documentation

◆ Draw()

void VGUICheckbox::Draw ( void  )
virtual

Called in order to draw the widget.

Reimplemented from VGUIWidget.

◆ GetValue()

int VGUICheckbox::GetValue ( void  )

◆ Input()

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

Called whenever an input event gets directed to the widget.

Reimplemented from VGUIWidget.

◆ SetTitle()

void VGUICheckbox::SetTitle ( string  strName)

◆ SetValue()

void VGUICheckbox::SetValue ( int  iValue)

◆ Spawned()

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