home *** CD-ROM | disk | FTP | other *** search
/ Game Audio Programming / GameAudioProgramming.iso / Game_Audio / AudioTest / System.h < prev    next >
Encoding:
C/C++ Source or Header  |  2002-07-12  |  2.8 KB  |  107 lines

  1. /***********************************************************\
  2. Copyright (C) James Boer, 2002. 
  3. All rights reserved worldwide.
  4.  
  5. This software is provided "as is" without express or implied
  6. warranties. You may freely copy and compile this source into
  7. applications you distribute provided that the copyright text
  8. below is included in the resulting source code, for example:
  9. "Portions Copyright (C) James Boer, 2002"
  10. \***********************************************************/
  11. #if !defined(AFX_SYSTEM_H__AD429169_5A7F_4AF2_AE8D_753958D8C79C__INCLUDED_)
  12. #define AFX_SYSTEM_H__AD429169_5A7F_4AF2_AE8D_753958D8C79C__INCLUDED_
  13.  
  14. #if _MSC_VER > 1000
  15. #pragma once
  16. #endif // _MSC_VER > 1000
  17. // System.h : header file
  18. //
  19.  
  20.  
  21. class CAudioTestDlg;
  22.  
  23. /////////////////////////////////////////////////////////////////////////////
  24. // CSystem dialog
  25.  
  26. class CSystem : public CPropertyPage
  27. {
  28.     DECLARE_DYNCREATE(CSystem)
  29.  
  30. // Construction
  31. public:
  32.     CSystem();
  33.     ~CSystem();
  34.  
  35. // Dialog Data
  36.     //{{AFX_DATA(CSystem)
  37.     enum { IDD = IDD_PROPPAGE_SYSTEM };
  38.     CButton    m_CacheBuffers;
  39.     CButton    m_AutoStream;
  40.     CButton    m_UseZoomFX;
  41.     CButton    m_UseEAX;
  42.     CEdit    m_Force2DSoftware;
  43.     CEdit    m_Force3DSoftware;
  44.     CEdit    m_SegmentsLoaded;
  45.     CEdit    m_3DLoaded;
  46.     CEdit    m_2DLoaded;
  47.     CSpinButtonCtrl    m_SegmentMax;
  48.     CSpinButtonCtrl    m_3DSoftwareBufferMax;
  49.     CSpinButtonCtrl    m_3DHardwareBufferMin;
  50.     CSpinButtonCtrl    m_3DHardwareBufferMax;
  51.     CSpinButtonCtrl    m_2DSoftwareBufferMax;
  52.     CSpinButtonCtrl    m_2DHardwareBufferMin;
  53.     CSpinButtonCtrl    m_2DHardwareBufferMax;
  54.     CComboBox    m_OptimalRate;
  55.     CButton    m_UseMusicReverb;
  56.     CButton    m_LoadAsync;
  57.     CButton    m_ForceSoftware;
  58.     CSliderCtrl    m_SoundVolume;
  59.     CSliderCtrl    m_MusicVolume;
  60.     CButton    m_PauseAll;
  61.     CButton    m_StopAll;
  62.     CButton    m_ResumeAll;
  63.     //}}AFX_DATA
  64.  
  65.  
  66. // Overrides
  67.     // ClassWizard generate virtual function overrides
  68.     //{{AFX_VIRTUAL(CSystem)
  69.     protected:
  70.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  71.     //}}AFX_VIRTUAL
  72.  
  73. public:
  74.     void UpdateStats();
  75.     CAudioTestDlg*    m_pTestDlg;
  76. // Implementation
  77. protected:
  78.     // Generated message map functions
  79.     //{{AFX_MSG(CSystem)
  80.     afx_msg void OnInitialize();
  81.     afx_msg void OnTerm();
  82.     virtual BOOL OnInitDialog();
  83.     afx_msg void OnResumeall();
  84.     afx_msg void OnPauseall();
  85.     afx_msg void OnStopall();
  86.     afx_msg void OnTimer(UINT nIDEvent);
  87.     afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
  88.     afx_msg void OnDestroy();
  89.     //}}AFX_MSG
  90.     DECLARE_MESSAGE_MAP()
  91.  
  92.     HICON m_hPlayIcon;
  93.     HICON m_hPauseIcon;
  94.     HICON m_hStopIcon;
  95.  
  96.     UINT m_nSoundVolumeUpdateTimer;
  97.     UINT m_nMusicVolumeUpdateTimer;
  98.     UINT m_nStatsTimer;
  99.  
  100.     HGDIOBJ m_hFont;
  101.  
  102. };
  103. //{{AFX_INSERT_LOCATION}}
  104. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  105.  
  106. #endif // !defined(AFX_SYSTEM_H__AD429169_5A7F_4AF2_AE8D_753958D8C79C__INCLUDED_)
  107.