-
Notifications
You must be signed in to change notification settings - Fork 7
/
fireflyeditor.hpp
40 lines (27 loc) · 891 Bytes
/
fireflyeditor.hpp
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
#ifndef _DFX_FIREFLYEDITOR_H
#define _DFX_FIREFLYEDITOR_H
#include "dfxgui.h"
#include "multikick.hpp"
#include "vstchunk.h"
#include "indexbitmap.hpp"
#define FIRST_RESOURCE 128
const CColor kGreenTextCColor = {75, 151, 71, 0};
//--------------------------------------------------------------------------
class FireflyEditor : public AEffGUIEditor, public CControlListener {
public:
FireflyEditor(AudioEffect *effect);
virtual ~FireflyEditor();
protected:
virtual long getRect(ERect **rect);
virtual long open(void *ptr);
virtual void close();
virtual void setParameter(long index, float value);
virtual void valueChanged(CDrawContext* context, CControl* control);
virtual void idle();
private:
/* ---graphics--- */
CBitmap *g_background;
VstChunk *chunk;
bool setGlowing(long index, bool glow = true);
};
#endif