00001 #ifndef ADDMATERIALSETTINGS_H 00002 #define ADDMATERIALSETTINGS_H 00003 00004 #pragma once 00005 #include "AddResourceSettings.h" 00006 #include "MaterialManager.h" 00007 00008 class CAddMaterialSettings : public CAddResourceSettings 00009 { 00010 public: 00011 CAddMaterialSettings(); 00012 virtual ~CAddMaterialSettings(); 00013 00014 virtual bool PropertyChanging( const void* pvProperty , void* pvNewValue ); 00015 virtual void GetProperties( EPropList& PropList ); 00016 00017 CMaterial *m_pCurrentMaterial; 00018 int m_iMaterialIndex; 00019 int m_iMaterialID; 00020 00021 COLORREF m_MaterialAmbient; 00022 COLORREF m_MaterialDiffuse; 00023 COLORREF m_MaterialSpecular; 00024 COLORREF m_MaterialEmissive; 00025 int m_iMaterialShininess; 00026 }; 00027 00028 #endif