1 | /*
|
---|
2 | =============================================================================
|
---|
3 | asgdsp.h -- assignment editor common parameter header file
|
---|
4 | Version 8 -- 1988-04-18 -- D.N. Lynx Crowe
|
---|
5 | =============================================================================
|
---|
6 | */
|
---|
7 |
|
---|
8 | #pragma once
|
---|
9 |
|
---|
10 | #include "stdint.h"
|
---|
11 | #include "vsdd.h"
|
---|
12 |
|
---|
13 | struct asgent { /* assignment table library entry structure */
|
---|
14 |
|
---|
15 | int16_t a_mop; /* MIDI output port */
|
---|
16 | int16_t a_tun; /* tuning table number */
|
---|
17 |
|
---|
18 | int16_t a_aux; /* auxiliary control state */
|
---|
19 | int16_t a_intn; /* intensity */
|
---|
20 | int16_t a_rate; /* rate */
|
---|
21 | int16_t a_dpth; /* depth */
|
---|
22 |
|
---|
23 | int16_t a_i2grp[12]; /* instrument to group table */
|
---|
24 | int16_t a_gpdyn[12]; /* group dynamics table */
|
---|
25 |
|
---|
26 | int16_t a_v2grp[12]; /* voice to group table */
|
---|
27 | int16_t a_mctln[4]; /* MIDI controller number table */
|
---|
28 | int16_t a_g2prt[12][2]; /* group to port and channel table */
|
---|
29 | int16_t a_k2grp[88]; /* port 1 key to group assigment table */
|
---|
30 |
|
---|
31 | int8_t a_name[16]; /* assignment table name */
|
---|
32 | };
|
---|
33 |
|
---|
34 | #define ASGOBJ 8 /* display object number */
|
---|
35 | #define ASGPRI 8 /* display object priority */
|
---|
36 |
|
---|
37 | #define ASGNFL V_RES3 /* display object flags */
|
---|
38 |
|
---|
39 | #define AK_BASE 158 /* top y value of group 1 select line */
|
---|
40 |
|
---|
41 | #define AKSTART 19718 /* word offset for keyboard icon */
|
---|
42 |
|
---|
43 | #define AK_CURS 1 /* cursor color */
|
---|
44 | #define AK_BORD 10 /* display border color */
|
---|
45 |
|
---|
46 | #define AK_SELC 15 /* selected key line color */
|
---|
47 | #define AK_SELC2 13 /* first selected key color */
|
---|
48 |
|
---|
49 | #define AK_WKEYT 6 /* top keyboard icon white key color */
|
---|
50 | #define AK_BKEYT 7 /* top keyboard icon black key color */
|
---|
51 | #define AK_WKEYB 8 /* bot keyboard icon white key color */
|
---|
52 | #define AK_BKEYB 9 /* bot keyboard icon black key color */
|
---|
53 | #define AK_LINE 14 /* keyboard icon line color */
|
---|
54 |
|
---|
55 | #define AK_MODC 13 /* assignment table modified color */
|
---|
56 | #define AK_ENTRY 12 /* data entry hilite color */
|
---|
57 |
|
---|
58 | #define ACFBX00 11 /* foreground color */
|
---|
59 | #define ACFBX01 11 /* foreground color */
|
---|
60 | #define ACFBX02 11 /* foreground color */
|
---|
61 | #define ACFBX03 11 /* foreground color */
|
---|
62 | #define ACFBX04 11 /* foreground color */
|
---|
63 | #define ACFBX05 11 /* foreground color */
|
---|
64 | #define ACFBX06 11 /* foreground color */
|
---|
65 | #define ACFBX07 11 /* foreground color */
|
---|
66 | #define ACFBX08 11 /* foreground color */
|
---|
67 | #define ACFBX09 11 /* foreground color */
|
---|
68 | #define ACFBX10 11 /* foreground color */
|
---|
69 |
|
---|
70 | #define ACBBX00 2 /* background color */
|
---|
71 | #define ACBBX01 2 /* background color */
|
---|
72 | #define ACBBX02 2 /* background color */
|
---|
73 | #define ACBBX03 4 /* background color */
|
---|
74 | #define ACBBX04 3 /* background color */
|
---|
75 | #define ACBBX05 2 /* background color */
|
---|
76 | #define ACBBX06 3 /* background color */
|
---|
77 | #define ACBBX07 5 /* background color */
|
---|
78 | #define ACBBX08 3 /* background color */
|
---|
79 | #define ACBBX09 4 /* background color */
|
---|
80 | #define ACBBX10 2 /* background color */
|
---|