⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 d3dsettings.h

📁 game code对于游戏地图的编辑代码
💻 H
字号:
//-----------------------------------------------------------------------------
// File: D3DSettings.h
//
// Desc: Settings class and change-settings dialog class for the Direct3D 
//       samples framework library.
//-----------------------------------------------------------------------------
#ifndef __D3DSETTINGS_H__
#define __D3DSETTINGS_H__

namespace QGE
{
	namespace VISUAL
	{
		class DX8Enumeration;
		//-----------------------------------------------------------------------------
		// Name: class CD3DSettingsDialog
		// Desc: Dialog box to allow the user to change the D3D settings
		//-----------------------------------------------------------------------------
		class _D3D8Export CD3DSettingsDialog
		{
		private:
			HWND m_hDlg;
			DX8Enumeration* m_pEnumeration;

		private:
			// ComboBox helper functions
			void ComboBoxAdd( Int32 id, TCHAR* pstrDesc );
			Int32 ComboBoxSelected( Int32 id );
			Bool ComboBoxSomethingSelected( Int32 id );
			UINT ComboBoxCount( Int32 id );
			void ComboBoxSelectIndex( Int32 id, Int32 index );
			void ComboBoxClear( Int32 id );
			Bool ComboBoxContainsText( Int32 id, TCHAR* pstrText );
			// TextBox helper functions
			void EditBoxSetText(Int32 id,TCHAR* text);

			void AdapterChanged( void );
			void DeviceChanged( void );
			void ModeChanged( void );
			void WindowedFullscreenChanged( void );
			void DepthStencilBufferChanged( void );
			void MixedVPChanged( void );

		public:
			CD3DSettingsDialog( DX8Enumeration* pEnumeration);
			INT_PTR ShowDialog( HINSTANCE hInst,HWND hwndParent );
			INT_PTR DialogProc( HWND hDlg, UINT msg, WPARAM wParam, LPARAM lParam );
		};
	}
}

#endif


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -