30 #include "../common/PropTree/PropTreeView.h"
33 #include "../common/registryoptions.h"
View that displays material and stage properties and allows the user to edit the properties.
virtual ~MaterialPropTreeView()
Destructor for MaterialPropTreeView.
CONST PIXELFORMATDESCRIPTOR UINT
MaterialDefList * currentPropDefs
void SetPropertyListType(int listType, int stageNum=-1)
Initializes the list of properties based on the type (material, stage, special stage).
rvRegistryOptions registry
void SaveSettings()
Saves the property view settings to the registry.
afx_msg void OnPropertyItemExpanding(NMHDR *nmhdr, LRESULT *lresult)
Changes the property setting of a group when is expanding.
MaterialDef * FindDefForTreeID(UINT treeID)
Returns the MeterialDef for a given property tree item.
Represents a single attribute in a material.
void LoadSettings()
Loads the property view settings from the registry.
MaterialDoc * currentMaterial
Responsible for managing a single material that is being viewed and/or edited.
MaterialPropTreeView()
Constructor for MaterialPropTreeView.
afx_msg void OnPropertyChangeNotification(NMHDR *nmhdr, LRESULT *lresult)
Updated the material when an attribute has been changed.
virtual void MV_OnMaterialChange(MaterialDoc *pMaterial)
Called when the material has changed but not applied.
void RefreshProperties()
Initializes the property tree with the data from the currently selected material. ...