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