SetShadowTechnich.cpp
资源名称:3dwind2.0.rar [点击查看]
上传用户:xhbjoy
上传日期:2014-10-07
资源大小:38068k
文件大小:2k
源码类别:
游戏引擎
开发平台:
Visual C++
- // SetShadowTechnich.cpp : 实现文件
- //
- #include "stdafx.h"
- #include "OGRESceneMgr.h"
- #include "SetShadowTechnich.h"
- #include ".setshadowtechnich.h"
- // SetShadowTechnich 对话框
- IMPLEMENT_DYNAMIC(SetShadowTechnich, CDialog)
- SetShadowTechnich::SetShadowTechnich(CWnd* pParent /*=NULL*/)
- : CDialog(SetShadowTechnich::IDD, pParent)
- {
- shadowtechenum="";
- }
- SetShadowTechnich::~SetShadowTechnich()
- {
- }
- void SetShadowTechnich::DoDataExchange(CDataExchange* pDX)
- {
- CDialog::DoDataExchange(pDX);
- DDX_Control(pDX, IDC_COMBO1, ShadowTechCombo);
- ShadowTechCombo.AddString("SHADOWTYPE_NONE");
- ShadowTechCombo.AddString("SHADOWDETAILTYPE_ADDITIVE");
- ShadowTechCombo.AddString("SHADOWDETAILTYPE_MODULATIVE");
- ShadowTechCombo.AddString("SHADOWDETAILTYPE_INTEGRATED");
- ShadowTechCombo.AddString("SHADOWDETAILTYPE_STENCIL ");
- ShadowTechCombo.AddString("SHADOWDETAILTYPE_TEXTURE");
- ShadowTechCombo.AddString("SHADOWTYPE_STENCIL_MODULATIVE ");
- ShadowTechCombo.AddString("SHADOWTYPE_STENCIL_ADDITIVE");
- ShadowTechCombo.AddString("SHADOWTYPE_TEXTURE_MODULATIVE");
- ShadowTechCombo.AddString("SHADOWTYPE_TEXTURE_ADDITIVE");
- ShadowTechCombo.AddString("SHADOWTYPE_TEXTURE_ADDITIVE_INTEGRATED");
- ShadowTechCombo.AddString("SHADOWTYPE_TEXTURE_MODULATIVE_INTEGRATED");
- }
- BEGIN_MESSAGE_MAP(SetShadowTechnich, CDialog)
- ON_CBN_SELCHANGE(IDC_COMBO1, OnCbnSelchangeCombo1)
- END_MESSAGE_MAP()
- // SetShadowTechnich 消息处理程序
- void SetShadowTechnich::OnCbnSelchangeCombo1()
- {
- // TODO: 在此添加控件通知处理程序代码
- //ShadowTechCombo.GetLBText(ShadowTechCombo.GetCurSel(),shadowtechenum);
- shadowtecenshu=ShadowTechCombo.GetCurSel();
- }