-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpatchOldRig.h
40 lines (25 loc) · 971 Bytes
/
patchOldRig.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
#ifndef __patchOldRig_h__
#define __patchOldRig_h__
#include "expSystem.h"
#include "oldRig_defs.h"
class patchOldRig : public expWindow
{
public:
patchOldRig();
private:
virtual const char *name() { return "Old Rig"; }
virtual const char *short_name() { return "Old Rig"; }
virtual void end();
virtual void begin(bool warm);
virtual void onButtonEvent(int row, int col, int event);
virtual void updateUI();
int m_cur_patch_num; // 0..14
int m_last_patch_num;
bool m_full_redraw;
int m_event_state[NUM_BUTTON_ROWS * NUM_BUTTON_COLS];
// static definitions, though currently same between old and new rigs
static synthPatch_t synth_patch[NUM_BUTTON_COLS * 3];
static int guitar_effect_ccs[NUM_BUTTON_COLS];
static int loop_ccs[NUM_BUTTON_COLS];
};
#endif // !__patchOldRig_h__