diff 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
line wrap: on
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/win32/VideoMode.h	Sat Mar 03 10:31:27 2012 -0600
     1.3 @@ -0,0 +1,79 @@
     1.4 +#if !defined(AFX_VIDEOMODE_H__074B2426_32EA_4D69_9215_AB5E90F885D0__INCLUDED_)
     1.5 +#define AFX_VIDEOMODE_H__074B2426_32EA_4D69_9215_AB5E90F885D0__INCLUDED_
     1.6 +
     1.7 +#if _MSC_VER > 1000
     1.8 +#pragma once
     1.9 +#endif // _MSC_VER > 1000
    1.10 +// VideoMode.h : header file
    1.11 +//
    1.12 +
    1.13 +/////////////////////////////////////////////////////////////////////////////
    1.14 +// VideoMode dialog
    1.15 +
    1.16 +class VideoMode : public CDialog
    1.17 +{
    1.18 +	// Construction
    1.19 +public:
    1.20 +	VideoMode(LPDIRECTDRAW7 pDraw, CWnd *pParent = NULL); // standard constructor
    1.21 +
    1.22 +	// Dialog Data
    1.23 +	//{{AFX_DATA(VideoMode)
    1.24 +	enum { IDD = IDD_MODES };
    1.25 +	CListBox m_modes;
    1.26 +	//}}AFX_DATA
    1.27 +
    1.28 +	// Overrides
    1.29 +	// ClassWizard generated virtual function overrides
    1.30 +	//{{AFX_VIRTUAL(VideoMode)
    1.31 +protected:
    1.32 +	virtual void DoDataExchange(CDataExchange *pDX);  // DDX/DDV support
    1.33 +	//}}AFX_VIRTUAL
    1.34 +
    1.35 +	// Implementation
    1.36 +protected:
    1.37 +	// Generated message map functions
    1.38 +	//{{AFX_MSG(VideoMode)
    1.39 +	afx_msg void OnSelchangeModes();
    1.40 +	afx_msg void OnCancel();
    1.41 +	afx_msg void OnOk();
    1.42 +	virtual BOOL OnInitDialog();
    1.43 +	//}}AFX_MSG
    1.44 +	DECLARE_MESSAGE_MAP()
    1.45 +private:
    1.46 +	LPDIRECTDRAW7 pDirectDraw;
    1.47 +};
    1.48 +
    1.49 +/////////////////////////////////////////////////////////////////////////////
    1.50 +// VideoDriverSelect dialog
    1.51 +
    1.52 +class VideoDriverSelect : public CDialog
    1.53 +{
    1.54 +	// Construction
    1.55 +public:
    1.56 +	VideoDriverSelect(CWnd *pParent = NULL); // standard constructor
    1.57 +
    1.58 +	// Dialog Data
    1.59 +	//{{AFX_DATA(VideoDriverSelect)
    1.60 +	enum { IDD = IDD_DRIVERS };
    1.61 +	CListBox m_drivers;
    1.62 +	//}}AFX_DATA
    1.63 +
    1.64 +	// Overrides
    1.65 +	// ClassWizard generated virtual function overrides
    1.66 +	//{{AFX_VIRTUAL(VideoDriverSelect)
    1.67 +protected:
    1.68 +	virtual void DoDataExchange(CDataExchange *pDX);  // DDX/DDV support
    1.69 +	//}}AFX_VIRTUAL
    1.70 +
    1.71 +	// Implementation
    1.72 +protected:
    1.73 +	// Generated message map functions
    1.74 +	//{{AFX_MSG(VideoDriverSelect)
    1.75 +	afx_msg void OnCancel();
    1.76 +	afx_msg void OnOk();
    1.77 +	virtual BOOL OnInitDialog();
    1.78 +	afx_msg void OnSelchangeDrivers();
    1.79 +	//}}AFX_MSG
    1.80 +	DECLARE_MESSAGE_MAP()
    1.81 +};
    1.82 +#endif // !defined(AFX_VIDEOMODE_H__074B2426_32EA_4D69_9215_AB5E90F885D0__INCLUDED_)