rlm@1
|
1 #if !defined(AFX_VIDEOMODE_H__074B2426_32EA_4D69_9215_AB5E90F885D0__INCLUDED_)
|
rlm@1
|
2 #define AFX_VIDEOMODE_H__074B2426_32EA_4D69_9215_AB5E90F885D0__INCLUDED_
|
rlm@1
|
3
|
rlm@1
|
4 #if _MSC_VER > 1000
|
rlm@1
|
5 #pragma once
|
rlm@1
|
6 #endif // _MSC_VER > 1000
|
rlm@1
|
7 // VideoMode.h : header file
|
rlm@1
|
8 //
|
rlm@1
|
9
|
rlm@1
|
10 /////////////////////////////////////////////////////////////////////////////
|
rlm@1
|
11 // VideoMode dialog
|
rlm@1
|
12
|
rlm@1
|
13 class VideoMode : public CDialog
|
rlm@1
|
14 {
|
rlm@1
|
15 // Construction
|
rlm@1
|
16 public:
|
rlm@1
|
17 VideoMode(LPDIRECTDRAW7 pDraw, CWnd *pParent = NULL); // standard constructor
|
rlm@1
|
18
|
rlm@1
|
19 // Dialog Data
|
rlm@1
|
20 //{{AFX_DATA(VideoMode)
|
rlm@1
|
21 enum { IDD = IDD_MODES };
|
rlm@1
|
22 CListBox m_modes;
|
rlm@1
|
23 //}}AFX_DATA
|
rlm@1
|
24
|
rlm@1
|
25 // Overrides
|
rlm@1
|
26 // ClassWizard generated virtual function overrides
|
rlm@1
|
27 //{{AFX_VIRTUAL(VideoMode)
|
rlm@1
|
28 protected:
|
rlm@1
|
29 virtual void DoDataExchange(CDataExchange *pDX); // DDX/DDV support
|
rlm@1
|
30 //}}AFX_VIRTUAL
|
rlm@1
|
31
|
rlm@1
|
32 // Implementation
|
rlm@1
|
33 protected:
|
rlm@1
|
34 // Generated message map functions
|
rlm@1
|
35 //{{AFX_MSG(VideoMode)
|
rlm@1
|
36 afx_msg void OnSelchangeModes();
|
rlm@1
|
37 afx_msg void OnCancel();
|
rlm@1
|
38 afx_msg void OnOk();
|
rlm@1
|
39 virtual BOOL OnInitDialog();
|
rlm@1
|
40 //}}AFX_MSG
|
rlm@1
|
41 DECLARE_MESSAGE_MAP()
|
rlm@1
|
42 private:
|
rlm@1
|
43 LPDIRECTDRAW7 pDirectDraw;
|
rlm@1
|
44 };
|
rlm@1
|
45
|
rlm@1
|
46 /////////////////////////////////////////////////////////////////////////////
|
rlm@1
|
47 // VideoDriverSelect dialog
|
rlm@1
|
48
|
rlm@1
|
49 class VideoDriverSelect : public CDialog
|
rlm@1
|
50 {
|
rlm@1
|
51 // Construction
|
rlm@1
|
52 public:
|
rlm@1
|
53 VideoDriverSelect(CWnd *pParent = NULL); // standard constructor
|
rlm@1
|
54
|
rlm@1
|
55 // Dialog Data
|
rlm@1
|
56 //{{AFX_DATA(VideoDriverSelect)
|
rlm@1
|
57 enum { IDD = IDD_DRIVERS };
|
rlm@1
|
58 CListBox m_drivers;
|
rlm@1
|
59 //}}AFX_DATA
|
rlm@1
|
60
|
rlm@1
|
61 // Overrides
|
rlm@1
|
62 // ClassWizard generated virtual function overrides
|
rlm@1
|
63 //{{AFX_VIRTUAL(VideoDriverSelect)
|
rlm@1
|
64 protected:
|
rlm@1
|
65 virtual void DoDataExchange(CDataExchange *pDX); // DDX/DDV support
|
rlm@1
|
66 //}}AFX_VIRTUAL
|
rlm@1
|
67
|
rlm@1
|
68 // Implementation
|
rlm@1
|
69 protected:
|
rlm@1
|
70 // Generated message map functions
|
rlm@1
|
71 //{{AFX_MSG(VideoDriverSelect)
|
rlm@1
|
72 afx_msg void OnCancel();
|
rlm@1
|
73 afx_msg void OnOk();
|
rlm@1
|
74 virtual BOOL OnInitDialog();
|
rlm@1
|
75 afx_msg void OnSelchangeDrivers();
|
rlm@1
|
76 //}}AFX_MSG
|
rlm@1
|
77 DECLARE_MESSAGE_MAP()
|
rlm@1
|
78 };
|
rlm@1
|
79 #endif // !defined(AFX_VIDEOMODE_H__074B2426_32EA_4D69_9215_AB5E90F885D0__INCLUDED_)
|