Mercurial > vba-linux
view src/win32/VideoMode.h @ 3:b05d00f19d80
fix some formatting
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 03 Mar 2012 10:33:11 -0600 |
parents | f9f4f1b99eed |
children |
line wrap: on
line source
1 #if !defined(AFX_VIDEOMODE_H__074B2426_32EA_4D69_9215_AB5E90F885D0__INCLUDED_)2 #define AFX_VIDEOMODE_H__074B2426_32EA_4D69_9215_AB5E90F885D0__INCLUDED_4 #if _MSC_VER > 10005 #pragma once6 #endif // _MSC_VER > 10007 // VideoMode.h : header file8 //10 /////////////////////////////////////////////////////////////////////////////11 // VideoMode dialog13 class VideoMode : public CDialog14 {15 // Construction16 public:17 VideoMode(LPDIRECTDRAW7 pDraw, CWnd *pParent = NULL); // standard constructor19 // Dialog Data20 //{{AFX_DATA(VideoMode)21 enum { IDD = IDD_MODES };22 CListBox m_modes;23 //}}AFX_DATA25 // Overrides26 // ClassWizard generated virtual function overrides27 //{{AFX_VIRTUAL(VideoMode)28 protected:29 virtual void DoDataExchange(CDataExchange *pDX); // DDX/DDV support30 //}}AFX_VIRTUAL32 // Implementation33 protected:34 // Generated message map functions35 //{{AFX_MSG(VideoMode)36 afx_msg void OnSelchangeModes();37 afx_msg void OnCancel();38 afx_msg void OnOk();39 virtual BOOL OnInitDialog();40 //}}AFX_MSG41 DECLARE_MESSAGE_MAP()42 private:43 LPDIRECTDRAW7 pDirectDraw;44 };46 /////////////////////////////////////////////////////////////////////////////47 // VideoDriverSelect dialog49 class VideoDriverSelect : public CDialog50 {51 // Construction52 public:53 VideoDriverSelect(CWnd *pParent = NULL); // standard constructor55 // Dialog Data56 //{{AFX_DATA(VideoDriverSelect)57 enum { IDD = IDD_DRIVERS };58 CListBox m_drivers;59 //}}AFX_DATA61 // Overrides62 // ClassWizard generated virtual function overrides63 //{{AFX_VIRTUAL(VideoDriverSelect)64 protected:65 virtual void DoDataExchange(CDataExchange *pDX); // DDX/DDV support66 //}}AFX_VIRTUAL68 // Implementation69 protected:70 // Generated message map functions71 //{{AFX_MSG(VideoDriverSelect)72 afx_msg void OnCancel();73 afx_msg void OnOk();74 virtual BOOL OnInitDialog();75 afx_msg void OnSelchangeDrivers();76 //}}AFX_MSG77 DECLARE_MESSAGE_MAP()78 };79 #endif // !defined(AFX_VIDEOMODE_H__074B2426_32EA_4D69_9215_AB5E90F885D0__INCLUDED_)