Starshatter_Open
Open source Starshatter engine
|
#include <MaterialDialog.h>
Public Types | |
enum | { IDD = IDD_MODIFY_MATERIAL } |
Public Member Functions | |
MaterialDialog (MagicView *pParent=NULL) | |
virtual | ~MaterialDialog () |
Public Attributes | |
CComboBox | mShadowList |
CComboBox | mBlendModeList |
CListBox | mMaterialList |
CStatic | mMaterialThumb |
CStatic | mSpecularColor |
CStatic | mEmissiveColor |
CStatic | mDiffuseColor |
CStatic | mAmbientColor |
float | mAmbientValue |
float | mBrillianceValue |
float | mBumpValue |
float | mDiffuseValue |
float | mEmissiveValue |
CString | mMaterialName |
float | mPowerValue |
float | mSpecularValue |
CString | mSpecularTexture |
CString | mDiffuseTexture |
CString | mBumpTexture |
CString | mEmissiveTexture |
CString | mMaterialShader |
Protected Member Functions | |
virtual void | DoDataExchange (CDataExchange *pDX) |
void | UpdateMaterial () |
void | OnFileTexture (int type) |
void | ChangeFileTexture (char *fname, int type) |
virtual BOOL | OnInitDialog () |
afx_msg void | OnPaint () |
afx_msg void | OnAmbientColor () |
afx_msg void | OnDiffuseColor () |
afx_msg void | OnEmissiveColor () |
afx_msg void | OnSpecularColor () |
afx_msg void | OnDrawItem (int nIDCtl, LPDRAWITEMSTRUCT lpDrawItemStruct) |
afx_msg void | OnChangeMaterialValue () |
afx_msg void | OnFileDiffuse () |
afx_msg void | OnFileSpecular () |
afx_msg void | OnFileEmissive () |
afx_msg void | OnFileBump () |
afx_msg void | OnChangeDiffuseTexture () |
afx_msg void | OnChangeSpecularTexture () |
afx_msg void | OnChangeEmissiveTexture () |
afx_msg void | OnChangeBumpTexture () |
afx_msg void | OnChangeMaterialName () |
afx_msg void | OnSelectMaterial () |
afx_msg void | OnSelectPolys () |
afx_msg void | OnNewMaterial () |
afx_msg void | OnDelMaterial () |
afx_msg void | OnSelectBlendMode () |
afx_msg void | OnSelectShadow () |
virtual void | OnOK () |
afx_msg void | OnChangeMaterialShader () |
Protected Attributes | |
MagicDoc * | doc |
Solid * | solid |
Material * | material |
Definition at line 32 of file MaterialDialog.h.
anonymous enum |
Definition at line 41 of file MaterialDialog.h.
MaterialDialog::MaterialDialog | ( | MagicView * | pParent = NULL | ) |
Definition at line 63 of file MaterialDialog.cpp.
|
virtual |
Definition at line 95 of file MaterialDialog.cpp.
|
protected |
Definition at line 389 of file MaterialDialog.cpp.
|
protectedvirtual |
Definition at line 100 of file MaterialDialog.cpp.
|
protected |
Definition at line 270 of file MaterialDialog.cpp.
|
protected |
Definition at line 494 of file MaterialDialog.cpp.
|
protected |
Definition at line 443 of file MaterialDialog.cpp.
|
protected |
Definition at line 477 of file MaterialDialog.cpp.
|
protected |
Definition at line 513 of file MaterialDialog.cpp.
|
protected |
Definition at line 521 of file MaterialDialog.cpp.
|
protected |
Definition at line 360 of file MaterialDialog.cpp.
|
protected |
Definition at line 460 of file MaterialDialog.cpp.
|
protected |
Definition at line 616 of file MaterialDialog.cpp.
|
protected |
Definition at line 285 of file MaterialDialog.cpp.
|
protected |
Definition at line 330 of file MaterialDialog.cpp.
|
protected |
Definition at line 315 of file MaterialDialog.cpp.
|
protected |
Definition at line 438 of file MaterialDialog.cpp.
|
protected |
Definition at line 423 of file MaterialDialog.cpp.
|
protected |
Definition at line 433 of file MaterialDialog.cpp.
|
protected |
Definition at line 428 of file MaterialDialog.cpp.
|
protected |
Definition at line 367 of file MaterialDialog.cpp.
|
protectedvirtual |
Definition at line 219 of file MaterialDialog.cpp.
|
protected |
Definition at line 582 of file MaterialDialog.cpp.
|
protectedvirtual |
Definition at line 686 of file MaterialDialog.cpp.
|
protected |
Definition at line 261 of file MaterialDialog.cpp.
|
protected |
Definition at line 674 of file MaterialDialog.cpp.
|
protected |
Definition at line 529 of file MaterialDialog.cpp.
|
protected |
Definition at line 662 of file MaterialDialog.cpp.
|
protected |
Definition at line 680 of file MaterialDialog.cpp.
|
protected |
Definition at line 300 of file MaterialDialog.cpp.
|
protected |
Definition at line 186 of file MaterialDialog.cpp.
|
protected |
Definition at line 79 of file MaterialDialog.h.
CStatic MaterialDialog::mAmbientColor |
Definition at line 49 of file MaterialDialog.h.
float MaterialDialog::mAmbientValue |
Definition at line 50 of file MaterialDialog.h.
|
protected |
Definition at line 81 of file MaterialDialog.h.
CComboBox MaterialDialog::mBlendModeList |
Definition at line 43 of file MaterialDialog.h.
float MaterialDialog::mBrillianceValue |
Definition at line 51 of file MaterialDialog.h.
CString MaterialDialog::mBumpTexture |
Definition at line 60 of file MaterialDialog.h.
float MaterialDialog::mBumpValue |
Definition at line 52 of file MaterialDialog.h.
CStatic MaterialDialog::mDiffuseColor |
Definition at line 48 of file MaterialDialog.h.
CString MaterialDialog::mDiffuseTexture |
Definition at line 59 of file MaterialDialog.h.
float MaterialDialog::mDiffuseValue |
Definition at line 53 of file MaterialDialog.h.
CStatic MaterialDialog::mEmissiveColor |
Definition at line 47 of file MaterialDialog.h.
CString MaterialDialog::mEmissiveTexture |
Definition at line 61 of file MaterialDialog.h.
float MaterialDialog::mEmissiveValue |
Definition at line 54 of file MaterialDialog.h.
CListBox MaterialDialog::mMaterialList |
Definition at line 44 of file MaterialDialog.h.
CString MaterialDialog::mMaterialName |
Definition at line 55 of file MaterialDialog.h.
CString MaterialDialog::mMaterialShader |
Definition at line 62 of file MaterialDialog.h.
CStatic MaterialDialog::mMaterialThumb |
Definition at line 45 of file MaterialDialog.h.
float MaterialDialog::mPowerValue |
Definition at line 56 of file MaterialDialog.h.
CComboBox MaterialDialog::mShadowList |
Definition at line 42 of file MaterialDialog.h.
CStatic MaterialDialog::mSpecularColor |
Definition at line 46 of file MaterialDialog.h.
CString MaterialDialog::mSpecularTexture |
Definition at line 58 of file MaterialDialog.h.
float MaterialDialog::mSpecularValue |
Definition at line 57 of file MaterialDialog.h.
|
protected |
Definition at line 80 of file MaterialDialog.h.