home *** CD-ROM | disk | FTP | other *** search
/ Large Pack of OldSkool DOS MOD Trackers / beaversweeper_v101.zip / src / SamplePoolEditor.h < prev    next >
C/C++ Source or Header  |  2003-01-06  |  2KB  |  92 lines

  1. #if !defined(AFX_SAMPLEPOOLEDITOR_H__D351CFD5_83DF_4F18_B268_CD1F447F64C6__INCLUDED_)
  2. #define AFX_SAMPLEPOOLEDITOR_H__D351CFD5_83DF_4F18_B268_CD1F447F64C6__INCLUDED_
  3.  
  4. #if _MSC_VER > 1000
  5. #pragma once
  6. #endif // _MSC_VER > 1000
  7. // SamplePoolEditor.h : header file
  8. //
  9.  
  10. /////////////////////////////////////////////////////////////////////////////
  11. // CSamplePoolEditor form view
  12.  
  13. #ifndef __AFXEXT_H__
  14. #include <afxext.h>
  15. #endif
  16.  
  17. class isSynth;
  18. class CRawSampleView;
  19.  
  20. class CSamplePoolEditor : public CFormView
  21. {
  22. protected:
  23.     CSamplePoolEditor();           // protected constructor used by dynamic creation
  24.     DECLARE_DYNCREATE(CSamplePoolEditor)
  25.  
  26. // Form Data
  27. public:
  28.     //{{AFX_DATA(CSamplePoolEditor)
  29.     enum { IDD = IDD_DIALOG_SAMPLEPOOL };
  30.     CButton    m_import;
  31.     CListBox    m_slotlist;
  32.     CSpinButtonCtrl    m_stopspin;
  33.     CSpinButtonCtrl    m_startspin;
  34.     BOOL    m_looping;
  35.     BOOL    m_pingpong;
  36.     int        m_loopstart;
  37.     int        m_loopstop;
  38.     CString    m_samplelength;
  39.     //}}AFX_DATA
  40.  
  41. // Attributes
  42. public:
  43.  
  44. // Operations
  45. public:
  46.  
  47.     void setSynth(isSynth *synt);
  48.     void newSlot(int newslot);
  49.     void updateStuff(void);
  50.  
  51.  
  52.  
  53. // Overrides
  54.     // ClassWizard generated virtual function overrides
  55.     //{{AFX_VIRTUAL(CSamplePoolEditor)
  56.     public:
  57.     virtual void OnInitialUpdate();
  58.     protected:
  59.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  60.     //}}AFX_VIRTUAL
  61.  
  62. // Implementation
  63. protected:
  64.     virtual ~CSamplePoolEditor();
  65. #ifdef _DEBUG
  66.     virtual void AssertValid() const;
  67.     virtual void Dump(CDumpContext& dc) const;
  68. #endif
  69.  
  70.     isSynth *m_synth;
  71.     CRawSampleView *m_sampleview;
  72.  
  73.  
  74.     // Generated message map functions
  75.     //{{AFX_MSG(CSamplePoolEditor)
  76.     afx_msg void OnSelchangeList1();
  77.     afx_msg void OnChangeEdit3();
  78.     afx_msg void OnChangeEdit2();
  79.     afx_msg void OnCheck2();
  80.     afx_msg void OnCheck3();
  81.     afx_msg void OnButton1();
  82.     //}}AFX_MSG
  83.     DECLARE_MESSAGE_MAP()
  84. };
  85.  
  86. /////////////////////////////////////////////////////////////////////////////
  87.  
  88. //{{AFX_INSERT_LOCATION}}
  89. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  90.  
  91. #endif // !defined(AFX_SAMPLEPOOLEDITOR_H__D351CFD5_83DF_4F18_B268_CD1F447F64C6__INCLUDED_)
  92.