d3dsettings.h
来自「game code对于游戏地图的编辑代码」· C头文件 代码 · 共 55 行
H
55 行
//-----------------------------------------------------------------------------
// 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 + =
减小字号Ctrl + -
显示快捷键?