void EditorBlendModule::fillPropertyGrid (wxPropertyGrid *pg) { pg->Append( wxPropertyCategory(wxT("Source modules")) ); appendSourceModuleProperty (pg, wxT("Source module 1"), mSourceModules[0]); appendSourceModuleProperty (pg, wxT("Source module 2"), mSourceModules[1]); appendSourceModuleProperty (pg, wxT("Control module"), mSourceModules[2]); }
void EditorSelectModule::fillPropertyGrid (wxPropertyGrid *pg) { pg->Append( wxPropertyCategory(wxT("Source modules")) ); appendSourceModuleProperty (pg, wxT("Source module 1"), mSourceModules[0]); appendSourceModuleProperty (pg, wxT("Source module 2"), mSourceModules[1]); appendSourceModuleProperty (pg, wxT("Control module"), mSourceModules[2]); pg->Append( wxPropertyCategory(wxT("Parameters")) ); pg->Append( wxFloatProperty(wxT("Lower bound"), wxPG_LABEL, mModule.getLowerBound()) ); pg->Append( wxFloatProperty(wxT("Upper bound"), wxPG_LABEL, mModule.getUpperBound()) ); pg->Append( wxFloatProperty(wxT("Edge falloff"), wxPG_LABEL, mModule.getEdgeFalloff()) ); }
void EditorExponentModule::fillPropertyGrid (wxPropertyGrid *pg) { pg->Append( wxPropertyCategory(wxT("Source modules")) ); appendSourceModuleProperty (pg, wxT("Source module"), mSourceModules[0]); pg->Append( wxPropertyCategory(wxT("Parameters")) ); pg->Append( wxFloatProperty(wxT("Exponent"), wxPG_LABEL, mModule.getExponent()) ); }
void EditorScalePointModule::fillPropertyGrid (wxPropertyGrid *pg) { pg->Append( wxPropertyCategory(wxT("Source modules")) ); appendSourceModuleProperty (pg, wxT("Source module"), mSourceModules[0]); pg->Append( wxPropertyCategory(wxT("Parameters")) ); pg->Append( wxFloatProperty(wxT("Scale X"), wxPG_LABEL, mModule.getScaleX()) ); pg->Append( wxFloatProperty(wxT("Scale Y"), wxPG_LABEL, mModule.getScaleY()) ); pg->Append( wxFloatProperty(wxT("Scale Z"), wxPG_LABEL, mModule.getScaleZ()) ); }
void EditorTurbulenceModule::fillPropertyGrid (wxPropertyGrid *pg) { pg->Append( wxPropertyCategory(wxT("Source modules")) ); appendSourceModuleProperty (pg, wxT("Source module"), mSourceModules[0]); pg->Append( wxPropertyCategory(wxT("Parameters")) ); pg->Append( wxFloatProperty(wxT("Power"), wxPG_LABEL, mModule.getPower()) ); pg->Append( wxFloatProperty(wxT("Frequency"), wxPG_LABEL, mModule.getFrequency()) ); pg->Append( wxIntProperty(wxT("Roughness"), wxPG_LABEL, mModule.getRoughness()) ); pg->Append( wxIntProperty(wxT("Seed"), wxPG_LABEL, mModule.getSeed()) ); appendQualityProperty (pg, mModule.getQuality()); }
void EditorTerraceModule::fillPropertyGrid (wxPropertyGrid *pg) { mControlPointIDs.clear (); pg->Append( wxPropertyCategory(wxT("Source modules")) ); appendSourceModuleProperty (pg, wxT("Source module"), mSourceModules[0]); pg->Append( wxPropertyCategory(wxT("Parameters")) ); pg->Append( wxIntProperty(wxT("Control points"), wxPG_LABEL, mPointCount) ); pg->Append( wxBoolProperty(wxT("Invert"), wxPG_LABEL, mModule.isInverted()) ); mPointCategoryID = pg->Append( wxPropertyCategory(wxT("Points")) ); changeNumberOfControlPoints(pg); }
void EditorAdditionModule::fillPropertyGrid (wxPropertyGrid *pg) { pg->Append( wxPropertyCategory(wxT("Source modules")) ); appendSourceModuleProperty (pg, wxT("Source module 1"), mSourceModules[0]); appendSourceModuleProperty (pg, wxT("Source module 2"), mSourceModules[1]); }
void EditorAbsoluteModule::fillPropertyGrid (wxPropertyGrid *pg) { pg->Append( wxPropertyCategory(wxT("Source modules")) ); appendSourceModuleProperty (pg, wxT("Source module"), mSourceModules[0]); }