34 #include "../comafx/CSyntaxRichEditCtrl.h"
75 afx_msg
int OnCreate(LPCREATESTRUCT lpCreateStruct);
76 afx_msg
void OnSize(
UINT nType,
int cx,
int cy);
View that displays material and stage properties and allows the user to edit the properties.
CONST PIXELFORMATDESCRIPTOR UINT
afx_msg void OnEnChangeEdit(NMHDR *pNMHDR, LRESULT *pResult)
Called when the user changes text in the edit control.
CSplitterWnd m_editSplitter
void ApplyMaterialSource()
Takes the source out of the edit control and applies it to the material.
#define IDD_MATERIALEDIT_FORM
Responsible for managing a single material that is being viewed and/or edited.
afx_msg void OnTcnSelChange(NMHDR *pNMHDR, LRESULT *pResult)
Called when the user changes the properties/text tab selection.
View that contains the material edit controls.
View that handles managing the material stages.
afx_msg void OnSize(UINT nType, int cx, int cy)
Windows message called when the window is resized.
virtual void MV_OnMaterialNameChanged(MaterialDoc *pMaterial, const char *oldName)
Called when the material name has changed.
virtual void DoDataExchange(CDataExchange *pDX)
Transfers data to and from the controls in the console.
MaterialEditView()
Constructor for MaterialEditView.
Implemented by the edit window that is responsible for modifying the material source text...
virtual ~MaterialEditView()
Destructor for MaterialEditView.
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct)
Called by the MFC framework when the view is being created.
typedef void(APIENTRYP PFNGLBLENDCOLORPROC)(GLclampf red
virtual idStr GetSourceText()
Returns the current source text in the source edit control.
virtual void MV_OnMaterialSelectionChange(MaterialDoc *pMaterial)
Called when the selected material has changed.
MaterialPropTreeView * m_materialPropertyView
idStr currentMaterialName
virtual void OnInitialUpdate()
Called by the MFC framework when the view is being created.
CSyntaxRichEditCtrl m_textView
void GetMaterialSource()
Gets the source of the current document and populates the source edit control.