home *** CD-ROM | disk | FTP | other *** search
/ Game Audio Programming / GameAudioProgramming.iso / Game_Audio / AudioTest / SoundScript.h < prev    next >
Encoding:
C/C++ Source or Header  |  2002-07-15  |  2.3 KB  |  86 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_SOUNDSCRIPT_H__412ADC3A_3B0F_42C8_81B6_6341981CD28A__INCLUDED_)
  12. #define AFX_SOUNDSCRIPT_H__412ADC3A_3B0F_42C8_81B6_6341981CD28A__INCLUDED_
  13.  
  14. #if _MSC_VER > 1000
  15. #pragma once
  16. #endif // _MSC_VER > 1000
  17. // CSoundScript.h : header file
  18. //
  19.  
  20. class CAudioTestDlg;
  21.  
  22. /////////////////////////////////////////////////////////////////////////////
  23. // SoundScript dialog
  24.  
  25. class CSoundScript : public CPropertyPage
  26. {
  27.     DECLARE_DYNCREATE(CSoundScript)
  28.  
  29. // Construction
  30. public:
  31.     CSoundScript();
  32.     ~CSoundScript();
  33.  
  34. // Dialog Data
  35.     //{{AFX_DATA(CSoundScript)
  36.     enum { IDD = IDD_PROPPAGE_SOUNDSCRIPT };
  37.     CSliderCtrl    m_Volume;
  38.     CListBox    m_SoundScapes;
  39.     CButton    m_Pause;
  40.     CButton    m_Stop;
  41.     CButton    m_Play;
  42.     //}}AFX_DATA
  43.  
  44.  
  45. // Overrides
  46.     // ClassWizard generate virtual function overrides
  47.     //{{AFX_VIRTUAL(SoundScript)
  48.     protected:
  49.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  50.     //}}AFX_VIRTUAL
  51.  
  52. public:
  53.     void UpdateControls();
  54.     void ClearList();
  55.     CAudioTestDlg*    m_pTestDlg;
  56. // Implementation
  57. protected:
  58.     // Generated message map functions
  59.     //{{AFX_MSG(CSoundScript)
  60.     virtual BOOL OnInitDialog();
  61.     afx_msg void OnSSInitialize();
  62.     afx_msg void OnSSDelete();
  63.     afx_msg void OnLoadSS();
  64.     afx_msg void OnUnloadSS();
  65.     afx_msg void OnPlaySS();
  66.     afx_msg void OnPauseSS();
  67.     afx_msg void OnStopSS();
  68.     afx_msg void OnDestroy();
  69.     afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
  70.     afx_msg void OnSelchangeListSSSounds();
  71.     afx_msg void OnDblclkListSsSounds();
  72.     //}}AFX_MSG
  73.     DECLARE_MESSAGE_MAP()
  74.  
  75.     HICON m_hPlayIcon;
  76.     HICON m_hPauseIcon;
  77.     HICON m_hStopIcon;
  78.  
  79.     bool m_bInit;
  80. };
  81.  
  82. //{{AFX_INSERT_LOCATION}}
  83. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  84.  
  85. #endif // !defined(AFX_SOUNDSCRIPT_H__412ADC3A_3B0F_42C8_81B6_6341981CD28A__INCLUDED_)
  86.