00001
00026 #ifndef INC_MGUI_EDITSMLPARAMETER_H
00027 #define INC_MGUI_EDITSMLPARAMETER_H
00028
00029 #ifndef INC_MGUI_EDIT_H
00030 #include <mgui/ctrl.h>
00031 #endif
00032
00033
00034 #ifndef GENERATING_DOXYGEN_OUTPUT
00035 class MISTRING;
00036 class XMLNODE;
00037 class SML::CONTEXT;
00038 #endif
00039
00040 namespace MGUI {
00041
00042 class FORM_EDIT_SML_PARAMETERS : public MGUI::FORM_COMPOSITE {
00043 public:
00044 FORM_EDIT_SML_PARAMETERS();
00045 virtual ~FORM_EDIT_SML_PARAMETERS();
00046
00047
00050 void AddItem (
00051 const XMLNODE* node
00052 );
00053
00055 void ApplyParameters (
00056 SML::CONTEXT* context
00057 ) const;
00058
00061 void Create (
00062 LAYOUT_PANE_BASE& ParentPane,
00063 const XMLNODE* ParametersNode
00064 );
00065
00067 bool GetValue (
00068 const char* name,
00069 MISTRING& value
00070 ) const;
00071
00073 bool GetValue (
00074 const char* name,
00075 double& value
00076 ) const;
00077
00080 void SetValue (
00081 const char* name,
00082 const MISTRING& value
00083 );
00084
00087 void SetValue (
00088 const char* name,
00089 double value
00090 );
00091
00092 private:
00093 #ifndef GENERATING_DOXYGEN_OUTPUT
00094 class PRIV;
00095 PRIV* m_priv;
00096 #endif
00097
00098 };
00099
00100 }
00101
00102
00103 #endif // INC_MGUI_EDITSMLPARAMETER_H
00104