8 #ifndef _INC_cDXSettingsDlg_H
9 #define _INC_cDXSettingsDlg_H
10 #ifndef NO_PRAGMA_ONCE
24 class GRAY3D_LINK cDXSettingsDlg :
public cWndHandle
34 static cDXSettingsDlg* sm_pSettingsDlg;
35 const cDXEnumeration& m_rEnumeration;
36 cDXSettings m_d3dSettings;
39 cDXSettingsDlg(
const cDXEnumeration& rEnumeration, cDXSettings* pSettings);
43 INT_PTR DialogProc( HWND hDlg,
WINMSG_t msg, WPARAM wParam, LPARAM lParam );
45 void GetFinalSettings( cDXSettings* pSettings )
const
46 { *pSettings = m_d3dSettings; }
50 void ComboBoxAdd(
DLGID_t id,
void* pData, LPCTSTR pstrDesc );
51 void ComboBoxSelect(
DLGID_t id,
void* pData );
52 void* ComboBoxSelected(
DLGID_t id );
53 bool ComboBoxSomethingSelected(
DLGID_t id );
54 UINT ComboBoxCount(
DLGID_t id )
const;
56 void ComboBoxClear(
DLGID_t id );
57 bool ComboBoxContainsText(
DLGID_t id, LPCTSTR pstrText );
59 void AdapterChanged(
void );
60 void DeviceChanged(
void );
61 void WindowedFullScreenChanged(
void );
62 void AdapterFormatChanged(
void );
63 void ResolutionChanged(
void );
64 void RefreshRateChanged(
void );
65 void BackBufferFormatChanged(
void );
66 void DepthStencilBufferFormatChanged(
void );
67 void MultisampleTypeChanged(
void );
68 void MultisampleQualityChanged(
void );
69 void VertexProcessingChanged(
void );
70 void PresentIntervalChanged(
void );
71 void DeviceClipChanged(
void );
73 static INT_PTR CALLBACK DialogProcHelper( HWND hDlg,
WINMSG_t msg, WPARAM wParam, LPARAM lParam );
#define GRAY3D_LINK
Definition: Gray3D.h:15
UINT WINMSG_t
Supplement _WIN32 "windows.h".
Definition: WinTypes.h:111
#define IDD_DisplayAdvanced
Definition: cDXSettingsDlgIds.h:6
Definition: Gray3D.cpp:12
UINT DLGID_t
old window format this was a WORD, EX format this is UINT32.
Definition: cResDialog.h:68
WORD RESOURCEID_t
A resource in .RC attached to a file/module. like MAKEINTRESOURCE(). https://docs....
Definition: cResourceBase.h:19
uint16 index
Definition: sample3.cpp:29