Represents a field in a dialog. More...
#include <vgui_dialog_field.h>
Public Member Functions | |
vgui_dialog_field (const char *text) | |
virtual | ~vgui_dialog_field () |
virtual vcl_string | current_value () const =0 |
virtual bool | update_value (const vcl_string &s)=0 |
Public Attributes | |
vcl_string | label |
Represents a field in a dialog.
vgui_dialog_field represents a field in a vgui_dialog. It is the base class for all dialog fields so far. It has abstract functions for synchronising its stored value with a vcl_string
Definition at line 23 of file vgui_dialog_field.h.
vgui_dialog_field::vgui_dialog_field | ( | const char * | text | ) | [inline] |
Definition at line 29 of file vgui_dialog_field.h.
virtual vgui_dialog_field::~vgui_dialog_field | ( | ) | [inline, virtual] |
Definition at line 30 of file vgui_dialog_field.h.
virtual vcl_string vgui_dialog_field::current_value | ( | ) | const [pure virtual] |
Implemented in vgui_simple_field< T >, vgui_string_field, vgui_button_field, and vgui_file_field.
virtual bool vgui_dialog_field::update_value | ( | const vcl_string & | s | ) | [pure virtual] |
Implemented in vgui_string_field, vgui_simple_field< T >, vgui_button_field, and vgui_file_field.
vcl_string vgui_dialog_field::label |
Definition at line 26 of file vgui_dialog_field.h.