home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 July / CMCD0704.ISO / Software / Freeware / Utilitare / VisualBoyAdvance-1.7.2 / src / win32 / VideoMode.h < prev    next >
Encoding:
C/C++ Source or Header  |  2004-05-13  |  2.8 KB  |  103 lines

  1. // -*- C++ -*-
  2. // VisualBoyAdvance - Nintendo Gameboy/GameboyAdvance (TM) emulator.
  3. // Copyright (C) 1999-2003 Forgotten
  4. // Copyright (C) 2004 Forgotten and the VBA development team
  5.  
  6. // This program is free software; you can redistribute it and/or modify
  7. // it under the terms of the GNU General Public License as published by
  8. // the Free Software Foundation; either version 2, or(at your option)
  9. // any later version.
  10. //
  11. // This program is distributed in the hope that it will be useful,
  12. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. // GNU General Public License for more details.
  15. //
  16. // You should have received a copy of the GNU General Public License
  17. // along with this program; if not, write to the Free Software Foundation,
  18. // Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  19.  
  20. #if !defined(AFX_VIDEOMODE_H__074B2426_32EA_4D69_9215_AB5E90F885D0__INCLUDED_)
  21. #define AFX_VIDEOMODE_H__074B2426_32EA_4D69_9215_AB5E90F885D0__INCLUDED_
  22.  
  23. #if _MSC_VER > 1000
  24. #pragma once
  25. #endif // _MSC_VER > 1000
  26. // VideoMode.h : header file
  27. //
  28.  
  29. /////////////////////////////////////////////////////////////////////////////
  30. // VideoMode dialog
  31.  
  32. class VideoMode : public CDialog
  33. {
  34.   // Construction
  35.  public:
  36.   VideoMode(LPDIRECTDRAW7 pDraw,CWnd* pParent = NULL);   // standard constructor
  37.  
  38.   // Dialog Data
  39.   //{{AFX_DATA(VideoMode)
  40.   enum { IDD = IDD_MODES };
  41.   CListBox  m_modes;
  42.   //}}AFX_DATA
  43.  
  44.  
  45.   // Overrides
  46.   // ClassWizard generated virtual function overrides
  47.   //{{AFX_VIRTUAL(VideoMode)
  48.  protected:
  49.   virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  50.   //}}AFX_VIRTUAL
  51.  
  52.   // Implementation
  53.  protected:
  54.  
  55.   // Generated message map functions
  56.   //{{AFX_MSG(VideoMode)
  57.   afx_msg void OnSelchangeModes();
  58.   afx_msg void OnCancel();
  59.   afx_msg void OnOk();
  60.   virtual BOOL OnInitDialog();
  61.   //}}AFX_MSG
  62.   DECLARE_MESSAGE_MAP()
  63.     private:
  64.   LPDIRECTDRAW7 pDirectDraw;
  65. };
  66.  
  67. /////////////////////////////////////////////////////////////////////////////
  68. // VideoDriverSelect dialog
  69.  
  70. class VideoDriverSelect : public CDialog
  71. {
  72.   // Construction
  73.  public:
  74.   VideoDriverSelect(CWnd* pParent = NULL);   // standard constructor
  75.  
  76.   // Dialog Data
  77.   //{{AFX_DATA(VideoDriverSelect)
  78.   enum { IDD = IDD_DRIVERS };
  79.   CListBox  m_drivers;
  80.   //}}AFX_DATA
  81.  
  82.  
  83.   // Overrides
  84.   // ClassWizard generated virtual function overrides
  85.   //{{AFX_VIRTUAL(VideoDriverSelect)
  86.  protected:
  87.   virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  88.   //}}AFX_VIRTUAL
  89.  
  90.   // Implementation
  91.  protected:
  92.  
  93.   // Generated message map functions
  94.   //{{AFX_MSG(VideoDriverSelect)
  95.   afx_msg void OnCancel();
  96.   afx_msg void OnOk();
  97.   virtual BOOL OnInitDialog();
  98.     afx_msg void OnSelchangeDrivers();
  99.     //}}AFX_MSG
  100.   DECLARE_MESSAGE_MAP()
  101.     };
  102. #endif // !defined(AFX_VIDEOMODE_H__074B2426_32EA_4D69_9215_AB5E90F885D0__INCLUDED_)
  103.