home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Large Pack of OldSkool DOS MOD Trackers
/
beaversweeper_v101.zip
/
src
/
OscillatorEdit.h
< prev
next >
Wrap
C/C++ Source or Header
|
2003-01-06
|
3KB
|
97 lines
#if !defined(AFX_OSCILLATOREDIT_H__7DDC685C_339A_4569_84E3_9D6A9A175B48__INCLUDED_)
#define AFX_OSCILLATOREDIT_H__7DDC685C_339A_4569_84E3_9D6A9A175B48__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// OscillatorEdit.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// COscillatorEdit dialog
#include "voicebasedlg.h"
class COscillatorEdit : public CVoiceBaseDlg
{
public:
virtual void UpdateVoiceData();
// Construction
public:
void UpdateSliderVaues (void);
void SetOscData(void);
int curosc;
void UpdateOscData (int oscnr);
COscillatorEdit(CWnd* pParent = NULL); // standard constructor
int processing;
// Dialog Data
//{{AFX_DATA(COscillatorEdit)
enum { IDD = IDD_DIALOG_OSCIALLTOR };
CButton m_sync;
CStatic m_transval;
CStatic m_portaval;
CStatic m_mulval;
CStatic m_mixval;
CStatic m_fmval;
CStatic m_dcval;
CSliderCtrl m_transSlider;
CSliderCtrl m_portaSlider;
CListBox m_osclist;
CEdit m_dc0Edit;
CEdit m_p1Edit;
CEdit m_p0Edit;
CEdit m_fm1Edit;
CEdit m_fm0Edit;
CEdit m_dc1Edit;
CComboBox m_p1List;
CComboBox m_p0List;
CComboBox m_fm1List;
CComboBox m_fm0List;
CComboBox m_dc1List;
CComboBox m_dc0List;
CEdit m_detuneEdit;
CSliderCtrl m_fmSlider;
CSliderCtrl m_multSlider;
CSliderCtrl m_mixSlider;
CSliderCtrl m_dcSlider;
CComboBox m_oscwaves;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(COscillatorEdit)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(COscillatorEdit)
virtual BOOL OnInitDialog();
afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
afx_msg void OnRadioOscmult();
afx_msg void OnRadioOscadd();
afx_msg void OnSelchangeComboOscwave();
afx_msg void OnButtonNewosc();
afx_msg void OnMaxtextEditCntrl();
afx_msg void OnIDCCombo();
afx_msg void OnButtonDelosc();
afx_msg void OnSelchangeListOscillators();
afx_msg void OnSelchangeCombo();
afx_msg void OnMaxtextEdit();
afx_msg void OnUpdateEdit();
afx_msg void OnCheckSync();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_OSCILLATOREDIT_H__7DDC685C_339A_4569_84E3_9D6A9A175B48__INCLUDED_)