forked from klang-modular/synthapp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1.2 KiB
53 lines
1.2 KiB
#ifndef __SYNTHFRAME_H__
|
|
#define __SYNTHFRAME_H__
|
|
|
|
#include <wx/wxprec.h>
|
|
|
|
#ifndef WX_PRECOMP
|
|
#include <wx/wx.h>
|
|
#endif
|
|
|
|
class SynthFrame : public wxFrame {
|
|
public:
|
|
SynthFrame();
|
|
|
|
private:
|
|
enum {
|
|
AMP_ATTACK_SLIDER = wxID_TOP,
|
|
AMP_DECAY_SLIDER,
|
|
AMP_SUSTAIN_SLIDER,
|
|
AMP_RELEASE_SLIDER,
|
|
|
|
FLT_ATTACK_SLIDER,
|
|
FLT_DECAY_SLIDER,
|
|
FLT_SUSTAIN_SLIDER,
|
|
FLT_RELEASE_SLIDER
|
|
};
|
|
|
|
wxSlider* ampAttackSlider;
|
|
wxSlider* ampDecaySlider;
|
|
wxSlider* ampSustainSlider;
|
|
wxSlider* ampReleaseSlider;
|
|
|
|
wxSlider* fltAttackSlider;
|
|
wxSlider* fltDecaySlider;
|
|
wxSlider* fltSustainSlider;
|
|
wxSlider* fltReleaseSlider;
|
|
|
|
void OnExit(wxCommandEvent& event);
|
|
void OnAbout(wxCommandEvent& event);
|
|
|
|
void OnAmpAttackScroll(wxScrollEvent& event);
|
|
void OnAmpDecayScroll(wxScrollEvent& event);
|
|
void OnAmpSustainScroll(wxScrollEvent& event);
|
|
void OnAmpReleaseScroll(wxScrollEvent& event);
|
|
|
|
void OnFltAttackScroll(wxScrollEvent& event);
|
|
void OnFltDecayScroll(wxScrollEvent& event);
|
|
void OnFltSustainScroll(wxScrollEvent& event);
|
|
void OnFltReleaseScroll(wxScrollEvent& event);
|
|
|
|
wxDECLARE_EVENT_TABLE();
|
|
};
|
|
|
|
#endif |