doom3-gpl
Doom 3 GPL source release
|
#include <MaterialPreviewView.h>
Public Member Functions | |
virtual void | OnDraw (CDC *pDC) |
void | MV_OnMaterialSelectionChange (MaterialDoc *pMaterial) |
Called when the selected material has changed. More... | |
void | OnModelChange (int modelId) |
void | OnCustomModelChange (idStr modelName) |
void | OnShowLightsChange (bool showLights) |
void | OnLocalParmChange (int parmNum, float value) |
void | OnGlobalParmChange (int parmNum, float value) |
void | OnLightShaderChange (int lightId, idStr shaderName) |
void | OnLightRadiusChange (int lightId, float radius) |
void | OnLightColorChange (int lightId, idVec3 &color) |
void | OnLightAllowMoveChange (int lightId, bool move) |
void | OnAddLight (void) |
void | OnDeleteLight (int lightId) |
afx_msg int | OnCreate (LPCREATESTRUCT lpCreateStruct) |
afx_msg void | OnSize (UINT nType, int cx, int cy) |
Public Member Functions inherited from MaterialView | |
MaterialView (void) | |
Constructor. More... | |
virtual | ~MaterialView (void) |
Destructor. More... | |
virtual void | SetMaterialDocManager (MaterialDocManager *docManager) |
Sets the material document manager for this view instance. More... | |
virtual void | MV_OnMaterialChange (MaterialDoc *pMaterial) |
Called when the material has changed but not applied. More... | |
virtual void | MV_OnMaterialApply (MaterialDoc *pMaterial) |
Called when the material changes have been applied. More... | |
virtual void | MV_OnMaterialSaved (MaterialDoc *pMaterial) |
Called when the material changes have been saved. More... | |
virtual void | MV_OnMaterialSaveFile (const char *filename) |
Called when a material file has been saved. More... | |
virtual void | MV_OnMaterialAdd (MaterialDoc *pMaterial) |
Called when a material is added. More... | |
virtual void | MV_OnMaterialDelete (MaterialDoc *pMaterial) |
Called when a material is deleted. More... | |
virtual void | MV_OnMaterialStageAdd (MaterialDoc *pMaterial, int stageNum) |
Called when a stage is added. More... | |
virtual void | MV_OnMaterialStageDelete (MaterialDoc *pMaterial, int stageNum) |
Called when a stage is deleted. More... | |
virtual void | MV_OnMaterialStageMove (MaterialDoc *pMaterial, int from, int to) |
Called when a stage is moved. More... | |
virtual void | MV_OnMaterialAttributeChanged (MaterialDoc *pMaterial, int stage, const char *attribName) |
Called when an attribute is changed. More... | |
virtual void | MV_OnMaterialNameChanged (MaterialDoc *pMaterial, const char *oldName) |
Called when the material name has changed. More... | |
virtual void | MV_OnFileReload (const char *filename) |
Called when a file has been reloaded. More... | |
Protected Member Functions | |
MaterialPreviewView () | |
virtual | ~MaterialPreviewView () |
Protected Attributes | |
idGLWidget | renderWindow |
idGLDrawableView | renderedView |
idStr | currentMaterial |
Protected Attributes inherited from MaterialView | |
MaterialDocManager * | materialDocManager |
Definition at line 104 of file MaterialPreviewView.h.
|
protected |
Definition at line 40 of file MaterialPreviewView.cpp.
|
protectedvirtual |
Definition at line 45 of file MaterialPreviewView.cpp.
|
virtual |
Called when the selected material has changed.
pMaterial | The newly selected material. |
Reimplemented from MaterialView.
Definition at line 108 of file MaterialPreviewView.cpp.
Definition at line 150 of file MaterialPreviewView.cpp.
int MaterialPreviewView::OnCreate | ( | LPCREATESTRUCT | lpCreateStruct | ) |
Definition at line 73 of file MaterialPreviewView.cpp.
Definition at line 165 of file MaterialPreviewView.cpp.
Definition at line 155 of file MaterialPreviewView.cpp.
|
virtual |
Definition at line 56 of file MaterialPreviewView.cpp.
Definition at line 125 of file MaterialPreviewView.cpp.
Definition at line 145 of file MaterialPreviewView.cpp.
Definition at line 135 of file MaterialPreviewView.cpp.
Definition at line 140 of file MaterialPreviewView.cpp.
Definition at line 130 of file MaterialPreviewView.cpp.
Definition at line 120 of file MaterialPreviewView.cpp.
Definition at line 160 of file MaterialPreviewView.cpp.
Definition at line 170 of file MaterialPreviewView.cpp.
Definition at line 95 of file MaterialPreviewView.cpp.
|
protected |
Definition at line 141 of file MaterialPreviewView.h.
|
protected |
Definition at line 139 of file MaterialPreviewView.h.
|
protected |
Definition at line 138 of file MaterialPreviewView.h.