Public Member Functions | Public Attributes
vgui_dialog_field Class Reference

Represents a field in a dialog. More...

#include <vgui_dialog_field.h>

Inheritance diagram for vgui_dialog_field:
Inheritance graph

List of all members.

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

Detailed Description

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.

Constructor & Destructor Documentation

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.

Member Function Documentation

virtual vcl_string vgui_dialog_field::current_value ( ) const [pure virtual]
virtual bool vgui_dialog_field::update_value ( const vcl_string &  s) [pure virtual]

Member Data Documentation

Definition at line 26 of file vgui_dialog_field.h.

The documentation for this class was generated from the following file: