Nuclide
Software Development Kit for id Technology
VGUITextView Class Reference

About this class

VGUI Widget: Text View.

Handles large buffers of scrolling text. You can always scroll the text with the wheel on your pointing device, as well as Page Up and Page Down.

Inheritance diagram for VGUITextView:
VGUIWidget

Public Member Functions

void VGUITextView (void)
 
virtual void Spawned (void)
 Called when the widget has fully initialized. 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...
 
nonvirtual void AddLine (string)
 
nonvirtual void Clear (void)
 
nonvirtual int LineCount (void)
 

Constructor & Destructor Documentation

◆ VGUITextView()

void VGUITextView::VGUITextView ( void  )

Member Function Documentation

◆ AddLine()

void VGUITextView::AddLine ( string  line)

◆ Clear()

void VGUITextView::Clear ( void  )

◆ Draw()

void VGUITextView::Draw ( void  )
virtual

Called in order to draw the widget.

Reimplemented from VGUIWidget.

◆ Input()

float VGUITextView::Input ( float  flEVType,
float  flKey,
float  flChar,
float  flDevID 
)
virtual

Called whenever an input event gets directed to the widget.

Reimplemented from VGUIWidget.

◆ LineCount()

int VGUITextView::LineCount ( void  )

◆ Spawned()

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