VRUT::GUIEnvironment::GUIParamInfo Struct Reference

Identificator and GUI properties of a parameter. More...

#include <guienvironment.h>

List of all members.

Public Types

enum  GUI_CONTROL_TYPE {
  GUI_TYPE_TEXTCONTROL, GUI_TYPE_CHECKBOX, GUI_TYPE_SLIDER, GUI_TYPE_SPINCONTROL,
  GUI_TYPE_COMBOBOX, GUI_TYPE_BUTTON
}
 GUI control type. More...

Public Member Functions

 GUIParamInfo ()
 Constructor.
 GUIParamInfo (const Parameter::ParameterIdentificator &_paramID, GUI_CONTROL_TYPE _type)
 Constructor.
 GUIParamInfo (const GUIParamInfo &guiPI)
 Copy constructor.

Public Attributes

Parameter::ParameterIdentificator paramID
 Parameter identificator.
enum
VRUT::GUIEnvironment::GUIParamInfo::GUI_CONTROL_TYPE 
type
double minval
 Min value (if applicable).
double maxval
 Max value (if applicable).
double step
 Step value (if applicable).
wxArrayString values
 List of selectable values (if applicable).


Detailed Description

Identificator and GUI properties of a parameter.

Definition at line 125 of file guienvironment.h.


Member Enumeration Documentation

GUI control type.

Enumerator:
GUI_TYPE_TEXTCONTROL  Single line text control.
GUI_TYPE_CHECKBOX  Checkbox control.
GUI_TYPE_SLIDER  Slider control.
GUI_TYPE_SPINCONTROL  Spin control.
GUI_TYPE_COMBOBOX  Combobox control.
GUI_TYPE_BUTTON  Button control (associated value is number of button pushes).

Definition at line 130 of file guienvironment.h.

00131                      {
00132                             GUI_TYPE_TEXTCONTROL,            
00133                             GUI_TYPE_CHECKBOX,               
00134                             GUI_TYPE_SLIDER,                 
00135                             GUI_TYPE_SPINCONTROL,            
00136 //TODO: implemented in wxWidgets 2.9.0
00137 //                          GUI_TYPE_SPINCONTROL_DOUBLE,     ///<Spin control for floating point values
00138                             GUI_TYPE_COMBOBOX,               
00139                             GUI_TYPE_BUTTON                  
00140                      } type;


Constructor & Destructor Documentation

VRUT::GUIEnvironment::GUIParamInfo::GUIParamInfo (  )  [inline]

Constructor.

Definition at line 151 of file guienvironment.h.

00151                                     :
00152                                    paramID(), type(GUI_TYPE_TEXTCONTROL), step(1.0) {minval = 0.0; maxval = 100.0;}

VRUT::GUIEnvironment::GUIParamInfo::GUIParamInfo ( const Parameter::ParameterIdentificator _paramID,
GUI_CONTROL_TYPE  _type 
) [inline]

Constructor.

Definition at line 154 of file guienvironment.h.

00155                                    : paramID(_paramID), type(_type), step(1) {minval = 0; maxval = 100;}

VRUT::GUIEnvironment::GUIParamInfo::GUIParamInfo ( const GUIParamInfo guiPI  )  [inline]

Copy constructor.

Definition at line 157 of file guienvironment.h.

00158                                    : paramID(guiPI.paramID),
00159                                    type(guiPI.type),
00160                                    step(guiPI.step),
00161                                    values(guiPI.values) {minval = guiPI.minval, maxval = guiPI.maxval;}


Member Data Documentation

Parameter identificator.

Definition at line 128 of file guienvironment.h.

Min value (if applicable).

Definition at line 142 of file guienvironment.h.

Max value (if applicable).

Definition at line 144 of file guienvironment.h.

Step value (if applicable).

Definition at line 146 of file guienvironment.h.

List of selectable values (if applicable).

Definition at line 148 of file guienvironment.h.


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

Generated on Tue Mar 10 14:41:43 2009 for VRUT by  doxygen 1.5.5