forked from osoumen/C700
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathC700Edit.h
61 lines (48 loc) · 1.31 KB
/
C700Edit.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
/*
* C700Edit.h
* C700
*
* Created by osoumen on 12/10/01.
* Copyright 2012 __MyCompanyName__. All rights reserved.
*
*/
#pragma once
#if AU
#include "plugguieditor.h"
#else
#include "aeffguieditor.h"
#endif
#include "ctooltipsupport.h"
#include "vstgui.h"
#include "C700GUI.h"
#include "C700defines.h"
#include "EfxAccess.h"
#include "C700Properties.h"
class C700Edit : public AEffGUIEditor, CControlListener
{
public:
C700Edit( void *pEffect );
virtual ~C700Edit();
void SetEfxAccess(EfxAccess* efxacc);
void SetParameterInfo(long index, float minValue, float maxValue, float defaultValue );
void SetProgramName( const char *pgname );
void SetBRRData( const BRRData *brr );
virtual bool getRect(ERect **);
virtual bool open(void *ptr);
virtual void close();
void setParameter(int index, const void *inPtr);
virtual void setParameter(int index, float value);
virtual void valueChanged(CControl *pControl);
long getTag();
virtual void idle();
std::map<int, PropertyDescription> mPropertyParams;
private:
void SetLoopPoint( int lp );
void UpdateXMSNESText();
void SetTrackSelectorValue( int track );
void SetBankSelectorValue( int bank );
CBitmap *m_pBackground;
C700GUI *m_pUIView;
CTooltipSupport *m_pTooltipSupport;
EfxAccess *efxAcc;
};