Nuclide
Software Development Kit for id Technology
|
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.
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) |
void VGUITextView::VGUITextView | ( | void | ) |
void VGUITextView::AddLine | ( | string | line | ) |
void VGUITextView::Clear | ( | void | ) |
|
virtual |
Called in order to draw the widget.
Reimplemented from VGUIWidget.
|
virtual |
Called whenever an input event gets directed to the widget.
Reimplemented from VGUIWidget.
int VGUITextView::LineCount | ( | 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.