DlgSelectMode.h 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. /* Copyright (c) 2002-2012 Croteam Ltd.
  2. This program is free software; you can redistribute it and/or modify
  3. it under the terms of version 2 of the GNU General Public License as published by
  4. the Free Software Foundation
  5. This program is distributed in the hope that it will be useful,
  6. but WITHOUT ANY WARRANTY; without even the implied warranty of
  7. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  8. GNU General Public License for more details.
  9. You should have received a copy of the GNU General Public License along
  10. with this program; if not, write to the Free Software Foundation, Inc.,
  11. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */
  12. #if !defined(AFX_DLGSELECTMODE_H__F71966B3_C31A_11D1_8231_000000000000__INCLUDED_)
  13. #define AFX_DLGSELECTMODE_H__F71966B3_C31A_11D1_8231_000000000000__INCLUDED_
  14. #if _MSC_VER >= 1000
  15. #pragma once
  16. #endif // _MSC_VER >= 1000
  17. // DlgSelectMode.h : header file
  18. //
  19. /////////////////////////////////////////////////////////////////////////////
  20. // CDlgSelectMode dialog
  21. class CDlgSelectMode : public CDialog
  22. {
  23. public:
  24. CDisplayMode *m_pdm;
  25. CDisplayMode *m_pdmAvailableModes;
  26. INDEX m_ctAvailableDisplayModes;
  27. enum GfxAPIType *m_pGfxAPI;
  28. // Construction
  29. public:
  30. CDlgSelectMode( CDisplayMode &dm, enum GfxAPIType &gfxAPI, CWnd* pParent = NULL);
  31. ~CDlgSelectMode();
  32. void ApplySettings( CDisplayMode *pdm, enum GfxAPIType *pGfxAPI);
  33. // Dialog Data
  34. //{{AFX_DATA(CDlgSelectMode)
  35. enum { IDD = IDD_SELECT_MODE_DIALOG };
  36. CComboBox m_ctrlResCombo;
  37. CComboBox m_ctrlDriverCombo;
  38. CString m_strCurrentMode;
  39. CString m_strCurrentDriver;
  40. int m_iColor;
  41. //}}AFX_DATA
  42. // Overrides
  43. // ClassWizard generated virtual function overrides
  44. //{{AFX_VIRTUAL(CDlgSelectMode)
  45. protected:
  46. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  47. //}}AFX_VIRTUAL
  48. // Implementation
  49. protected:
  50. // Generated message map functions
  51. //{{AFX_MSG(CDlgSelectMode)
  52. afx_msg void OnTestButton();
  53. //}}AFX_MSG
  54. DECLARE_MESSAGE_MAP()
  55. public:
  56. };
  57. //{{AFX_INSERT_LOCATION}}
  58. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  59. #endif // !defined(AFX_DLGSELECTMODE_H__F71966B3_C31A_11D1_8231_000000000000__INCLUDED_)