Holds a float option. More...
#include <mmoptionmodel.h>
Inherits mmOptionModel.

Public Types | |
| enum | ControlType { ct_undefined, ct_someothers } |
Public Member Functions | |
| mmOptionFloat (wxString name_, wxString key_, wxString description_, float def_, float stepping_, float min_, float max_, wxString section_=SLGlobals::nosection_name, wxString style_=SLGlobals::nostyle_name) | |
| sets members accordingly | |
| mmOptionFloat () | |
| sets wxstring member to "" and float members to 0.0 | |
Data Fields | |
| float | def |
| float | value |
| this will always represent the current value, also the only member that should change after creation | |
| float | stepping |
| the increment with that value may change in min,max boundaries | |
| float | min |
| float | max |
| wxString | name |
| wxString | key |
| wxString | description |
| OptionType | type |
| ControlType | ct_type |
| wxString | section |
| wxString | ct_type_string |
| control style string, as of yet undefined | |
Holds a float option.
Definition at line 87 of file mmoptionmodel.h.
enum mmOptionModel::ControlType [inherited] |
Definition at line 47 of file mmoptionmodel.h.
| mmOptionFloat::mmOptionFloat | ( | wxString | name_, | |
| wxString | key_, | |||
| wxString | description_, | |||
| float | def_, | |||
| float | stepping_, | |||
| float | min_, | |||
| float | max_, | |||
| wxString | section_ = SLGlobals::nosection_name, |
|||
| wxString | style_ = SLGlobals::nostyle_name | |||
| ) |
sets members accordingly
Definition at line 54 of file mmoptionmodel.cpp.
| mmOptionFloat::mmOptionFloat | ( | ) |
sets wxstring member to "" and float members to 0.0
Definition at line 60 of file mmoptionmodel.cpp.
ControlType mmOptionModel::ct_type [inherited] |
Definition at line 66 of file mmoptionmodel.h.
wxString mmOptionModel::ct_type_string [inherited] |
control style string, as of yet undefined
Definition at line 69 of file mmoptionmodel.h.
| float mmOptionFloat::def |
Definition at line 95 of file mmoptionmodel.h.
wxString mmOptionModel::description [inherited] |
Definition at line 64 of file mmoptionmodel.h.
wxString mmOptionModel::key [inherited] |
Definition at line 64 of file mmoptionmodel.h.
| float mmOptionFloat::max |
Definition at line 101 of file mmoptionmodel.h.
| float mmOptionFloat::min |
Definition at line 101 of file mmoptionmodel.h.
wxString mmOptionModel::name [inherited] |
Definition at line 64 of file mmoptionmodel.h.
wxString mmOptionModel::section [inherited] |
Definition at line 67 of file mmoptionmodel.h.
| float mmOptionFloat::stepping |
the increment with that value may change in min,max boundaries
Definition at line 100 of file mmoptionmodel.h.
OptionType mmOptionModel::type [inherited] |
Definition at line 65 of file mmoptionmodel.h.
| float mmOptionFloat::value |
this will always represent the current value, also the only member that should change after creation
Definition at line 97 of file mmoptionmodel.h.
1.6.3