Nuclide
Software Development Kit for id Tech
VGUITextBox Class Reference

VGUI Widget: Text Box. More...

Inheritance diagram for VGUITextBox:
VGUIWidget

Public Member Functions

void VGUITextBox (void)
 
nonvirtual void SetText (string)
 Set the starting text of the textbox. More...
 
nonvirtual string GetText (void)
 Get the text inside the textbox. More...
 
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: Text Box.

Constructor & Destructor Documentation

◆ VGUITextBox()

void VGUITextBox::VGUITextBox ( void  )

Member Function Documentation

◆ Draw()

void VGUITextBox::Draw ( void  )
virtual

Called in order to draw the widget.

Reimplemented from VGUIWidget.

◆ GetText()

string VGUITextBox::GetText ( void  )

Get the text inside the textbox.

◆ Input()

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

Called whenever an input event gets directed to the widget.

Reimplemented from VGUIWidget.

◆ SetText()

void VGUITextBox::SetText ( string  strName)

Set the starting text of the textbox.

◆ Spawned()

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