-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathEditor.h
executable file
·81 lines (67 loc) · 1.59 KB
/
Editor.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
#if !defined(AFX_AZEDITOR_H__FA58C980_466D_11D5_8ABF_0000B443497A__INCLUDED_)
#define AFX_AZEDITOR_H__FA58C980_466D_11D5_8ABF_0000B443497A__INCLUDED_
#include "audioeffectx.h"
//#include "AEffEditor.hpp"
#include "vstgui.h"
#include "flp.h"
#include "Controls.h"
#include "plugin-bindings/aeffguieditor.h"
enum
{
cCOnOffButton=0,
cCParamDisplay,
cCTextEdit,
cCOptionMenu,
cCKnob,
cCAnimKnob,
cCVerticalSwitch,
cCHorizontalSwitch,
cCRockerSwitch,
cCMovieBitmap,
cCMovieButton,
cCAutoAnimation,
cCVerticalSlider,
cCHorizontalSlider,
cCSpecialDigit,
cCKickButton,
cCSplashScreen,
cCVuMeter,
cCFileSelector,
cCDisplay,
cCFader,
cCCircDisplay,
cCTab,
cCTextSplash,
};
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class Editor : public AEffGUIEditor, public CControlListener
{
public:
Editor (AudioEffect *effect);
~Editor ();
void idle();
protected:
bool open (void *ptr);
void close ();
void setParameter (VstInt32 index, float value);
void valueChanged (CControl* control);
void c_visible(long tag,bool show);
private:
int panelmode;
long m1,m2,m3;
long oldTicks,ticks;
int panel_width,panel_height;
bool justloaded,frame_ok;
int mousedown;
CBitmap* bitmaps[kNumBitmaps];
CControl* controls[kNumControls];
int ctyp[kNumControls];
CDisplay* ctrl_display;
COnOffButton* ctrl_compare;
COnOffButton* ctrl_split;
CKickButton* ctrl_save;
CSplashScreen* ctrl_splash;
};
#endif // !defined(AFX_AZEDITOR_H__FA58C980_466D_11D5_8ABF_0000B443497A__INCLUDED_)