Nuclide
Software Development Kit for id Tech
VGUIMenuButton Class Reference

VGUI Widget: Menu Button. More...

Inheritance diagram for VGUIMenuButton:
VGUIWidget

Public Member Functions

void VGUIMenuButton (void)
 
nonvirtual void SetTitle (string)
 
nonvirtual void SetIcon (string)
 
nonvirtual void SetFunc (void(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...
 

Detailed Description

VGUI Widget: Menu Button.

Constructor & Destructor Documentation

◆ VGUIMenuButton()

void VGUIMenuButton::VGUIMenuButton ( void  )

Member Function Documentation

◆ Draw()

void VGUIMenuButton::Draw ( void  )
virtual

Called in order to draw the widget.

Reimplemented from VGUIWidget.

◆ Input()

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

Called whenever an input event gets directed to the widget.

Reimplemented from VGUIWidget.

◆ SetFunc()

void VGUIMenuButton::SetFunc ( void(void vFunc)

◆ SetIcon()

void VGUIMenuButton::SetIcon ( string  strName)

◆ SetTitle()

void VGUIMenuButton::SetTitle ( string  strName)

◆ Spawned()

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