vidinitDlg.h 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. /*
  2. ** Command & Conquer Renegade(tm)
  3. ** Copyright 2025 Electronic Arts Inc.
  4. **
  5. ** This program is free software: you can redistribute it and/or modify
  6. ** it under the terms of the GNU General Public License as published by
  7. ** the Free Software Foundation, either version 3 of the License, or
  8. ** (at your option) any later version.
  9. **
  10. ** This program is distributed in the hope that it will be useful,
  11. ** but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. ** GNU General Public License for more details.
  14. **
  15. ** You should have received a copy of the GNU General Public License
  16. ** along with this program. If not, see <http://www.gnu.org/licenses/>.
  17. */
  18. // vidinitDlg.h : header file
  19. //
  20. #if !defined(AFX_VIDINITDLG_H__AC2150AD_B8EF_4511_BA4A_DEDC16A03EDF__INCLUDED_)
  21. #define AFX_VIDINITDLG_H__AC2150AD_B8EF_4511_BA4A_DEDC16A03EDF__INCLUDED_
  22. #if _MSC_VER > 1000
  23. #pragma once
  24. #endif // _MSC_VER > 1000
  25. /////////////////////////////////////////////////////////////////////////////
  26. // CVidinitDlg dialog
  27. class CSurrenderWnd;
  28. class CVidinitDlg : public CDialog
  29. {
  30. // Construction
  31. public:
  32. CVidinitDlg(CWnd* pParent = NULL); // standard constructor
  33. // Dialog Data
  34. //{{AFX_DATA(CVidinitDlg)
  35. enum { IDD = IDD_VIDINIT_DIALOG };
  36. CListBox m_Resolutions;
  37. CListBox m_Drivers;
  38. BOOL m_RunFullScreen;
  39. //}}AFX_DATA
  40. // ClassWizard generated virtual function overrides
  41. //{{AFX_VIRTUAL(CVidinitDlg)
  42. protected:
  43. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  44. //}}AFX_VIRTUAL
  45. // Implementation
  46. protected:
  47. HICON m_hIcon;
  48. LPCTSTR m_WndClass;
  49. CSurrenderWnd * m_TestCWnd;
  50. char m_DeviceName[255];
  51. int m_DeviceWidth;
  52. int m_DeviceHeight;
  53. int m_DeviceDepth;
  54. int m_DeviceWindowed;
  55. // Generated message map functions
  56. //{{AFX_MSG(CVidinitDlg)
  57. virtual BOOL OnInitDialog();
  58. afx_msg void OnPaint();
  59. afx_msg HCURSOR OnQueryDragIcon();
  60. virtual void OnOK();
  61. virtual void OnCancel();
  62. afx_msg void OnSelchangeDrivers();
  63. afx_msg void OnTest();
  64. //}}AFX_MSG
  65. afx_msg LRESULT OnDeadBeef(WPARAM, LPARAM);
  66. DECLARE_MESSAGE_MAP()
  67. };
  68. //{{AFX_INSERT_LOCATION}}
  69. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  70. #endif // !defined(AFX_VIDINITDLG_H__AC2150AD_B8EF_4511_BA4A_DEDC16A03EDF__INCLUDED_)