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

  1. #if !defined(AFX_OSCILLATOREDIT_H__7DDC685C_339A_4569_84E3_9D6A9A175B48__INCLUDED_)
  2. #define AFX_OSCILLATOREDIT_H__7DDC685C_339A_4569_84E3_9D6A9A175B48__INCLUDED_
  3.  
  4. #if _MSC_VER > 1000
  5. #pragma once
  6. #endif // _MSC_VER > 1000
  7. // OscillatorEdit.h : header file
  8. //
  9.  
  10. /////////////////////////////////////////////////////////////////////////////
  11. // COscillatorEdit dialog
  12.  
  13. #include "voicebasedlg.h"
  14.  
  15. class COscillatorEdit : public CVoiceBaseDlg
  16. {
  17. public:
  18.   virtual void UpdateVoiceData();
  19. // Construction
  20. public:
  21.     void UpdateSliderVaues (void);
  22.     void SetOscData(void);
  23.   int curosc;
  24.     void UpdateOscData (int oscnr);
  25.     COscillatorEdit(CWnd* pParent = NULL);   // standard constructor
  26.   int processing;
  27.  
  28. // Dialog Data
  29.     //{{AFX_DATA(COscillatorEdit)
  30.     enum { IDD = IDD_DIALOG_OSCIALLTOR };
  31.     CButton    m_sync;
  32.     CStatic    m_transval;
  33.     CStatic    m_portaval;
  34.     CStatic    m_mulval;
  35.     CStatic    m_mixval;
  36.     CStatic    m_fmval;
  37.     CStatic    m_dcval;
  38.     CSliderCtrl    m_transSlider;
  39.     CSliderCtrl    m_portaSlider;
  40.     CListBox    m_osclist;
  41.     CEdit    m_dc0Edit;
  42.     CEdit    m_p1Edit;
  43.     CEdit    m_p0Edit;
  44.     CEdit    m_fm1Edit;
  45.     CEdit    m_fm0Edit;
  46.     CEdit    m_dc1Edit;
  47.     CComboBox    m_p1List;
  48.     CComboBox    m_p0List;
  49.     CComboBox    m_fm1List;
  50.     CComboBox    m_fm0List;
  51.     CComboBox    m_dc1List;
  52.     CComboBox    m_dc0List;
  53.     CEdit    m_detuneEdit;
  54.     CSliderCtrl    m_fmSlider;
  55.     CSliderCtrl    m_multSlider;
  56.     CSliderCtrl    m_mixSlider;
  57.     CSliderCtrl    m_dcSlider;
  58.     CComboBox    m_oscwaves;
  59.     //}}AFX_DATA
  60.  
  61.  
  62. // Overrides
  63.     // ClassWizard generated virtual function overrides
  64.     //{{AFX_VIRTUAL(COscillatorEdit)
  65.     protected:
  66.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  67.     virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
  68.     //}}AFX_VIRTUAL
  69.  
  70. // Implementation
  71. protected:
  72.  
  73.     // Generated message map functions
  74.     //{{AFX_MSG(COscillatorEdit)
  75.     virtual BOOL OnInitDialog();
  76.     afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
  77.     afx_msg void OnRadioOscmult();
  78.     afx_msg void OnRadioOscadd();
  79.     afx_msg void OnSelchangeComboOscwave();
  80.     afx_msg void OnButtonNewosc();
  81.     afx_msg void OnMaxtextEditCntrl();
  82.     afx_msg void OnIDCCombo();
  83.     afx_msg void OnButtonDelosc();
  84.     afx_msg void OnSelchangeListOscillators();
  85.     afx_msg void OnSelchangeCombo();
  86.     afx_msg void OnMaxtextEdit();
  87.     afx_msg void OnUpdateEdit();
  88.     afx_msg void OnCheckSync();
  89.     //}}AFX_MSG
  90.     DECLARE_MESSAGE_MAP()
  91. };
  92.  
  93. //{{AFX_INSERT_LOCATION}}
  94. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  95.  
  96. #endif // !defined(AFX_OSCILLATOREDIT_H__7DDC685C_339A_4569_84E3_9D6A9A175B48__INCLUDED_)
  97.