virtual void MV_OnMaterialChange(MaterialDoc *pMaterial)
Called when the material has changed but not applied.
virtual void SetMaterialDocManager(MaterialDocManager *docManager)
Sets the material document manager for this view instance.
virtual void MV_OnMaterialStageDelete(MaterialDoc *pMaterial, int stageNum)
Called when a stage is deleted.
virtual void MV_OnMaterialApply(MaterialDoc *pMaterial)
Called when the material changes have been applied.
virtual void MV_OnMaterialSaveFile(const char *filename)
Called when a material file has been saved.
MaterialView(void)
Constructor.
Responsible for managing a single material that is being viewed and/or edited.
virtual void MV_OnMaterialSelectionChange(MaterialDoc *pMaterial)
Called when the selected material has changed.
virtual void MV_OnMaterialStageMove(MaterialDoc *pMaterial, int from, int to)
Called when a stage is moved.
virtual void MV_OnMaterialStageAdd(MaterialDoc *pMaterial, int stageNum)
Called when a stage is added.
virtual void MV_OnMaterialAttributeChanged(MaterialDoc *pMaterial, int stage, const char *attribName)
Called when an attribute is changed.
virtual void MV_OnMaterialDelete(MaterialDoc *pMaterial)
Called when a material is deleted.
virtual void MV_OnMaterialAdd(MaterialDoc *pMaterial)
Called when a material is added.
MaterialDocManager * materialDocManager
virtual void MV_OnFileReload(const char *filename)
Called when a file has been reloaded.
virtual ~MaterialView(void)
Destructor.
Responsible for managing the materials that are being viewed and/or edited.
virtual void MV_OnMaterialNameChanged(MaterialDoc *pMaterial, const char *oldName)
Called when the material name has changed.
virtual void MV_OnMaterialSaved(MaterialDoc *pMaterial)
Called when the material changes have been saved.