source: buchla-68k/orig/lib/INCLUDE/WSDSP.H@ 9bf0f86

Last change on this file since 9bf0f86 was 3ae31e9, checked in by Thomas Lopatic <thomas@…>, 8 years ago

Imported original source code.

  • Property mode set to 100755
File size: 2.5 KB
Line 
1/*
2 =============================================================================
3 wsdsp.h -- waveshape editor common parameter header file
4 Version 12 -- 1987-12-14 -- D.N. Lynx Crowe
5
6 Uses definitions from: "graphdef.h", "midas.h", "vsdd.h"
7 Note that the definition of wstbl MUST match the corresponding
8 area in instdef, or chaos will result.
9 =============================================================================
10*/
11
12struct wstbl { /* waveshape table library entry */
13
14 short final[NUMWPNT]; /* final values */
15 short offset[NUMWPNT]; /* offset values */
16 short harmon[NUMHARM]; /* harmonic values */
17};
18
19#define WAVEOBJ 8 /* waveshape display object number */
20#define WAVEPRI 8 /* waveshape display object priority */
21
22#define WAVEFL (V_RES3) /* waveshape display object flags */
23
24#define WCURX 256 /* initial cursor x location */
25#define WCURY 128 /* initial cursor y location */
26
27#define WBSF1 128 /* waveshape bar scaling multiplier */
28#define WBSF2 100 /* waveshape bar scaling divisor */
29#define WBOFF 306 /* waveshape bar offset */
30
31#define WPSF1 1 /* waveshape point scaling multiplier */
32#define WPSF2 8 /* waveshape point scaling divisor */
33#define WPOFF 133 /* waveshape point offset */
34
35#define WBORD 2 /* waveshape display border color */
36#define WZBC 10 /* waveshape zero line color */
37
38#define WS_CHGC 13 /* waveshape changed color */
39#define WS_ENTRY 12 /* waveshape data entry color */
40
41#define WDCURS 1 /* waveshape normal cursor color */
42#define WS_GRAB 13 /* waveshape pnt grabbed cursor color */
43
44#define WBCN 8 /* waveshape bar color - negative */
45#define WBCP 9 /* waveshape bar color - positive */
46
47#define WOVC 6 /* waveshape offset point color */
48#define WFVC 7 /* waveshape final point color */
49
50#define WCFBX00 11 /* foreground color */
51#define WCFBX01 11 /* foreground color */
52#define WCFBX02 11 /* foreground color */
53#define WCFBX03 11 /* foreground color */
54#define WCFBX04 11 /* foreground color */
55#define WCFBX05 11 /* foreground color */
56
57#define WCBBX00 3 /* background color */
58#define WCBBX01 4 /* background color */
59#define WCBBX02 5 /* background color */
60#define WCBBX03 14 /* background color */
61#define WCBBX04 5 /* background color */
62#define WCBBX05 14 /* background color */
63
64#define WAVE_OFF 9
65#define WDTH_OFF 6
66#define WINS_OFF 11
67#define WHRM_OFF 10
68#define WHRV_OFF 6
69#define WOFF_OFF 14
70#define WPNT_OFF 4
71#define WSLT_OFF 19
72#define WVCE_OFF 18
73#define WFNL_OFF 14
Note: See TracBrowser for help on using the repository browser.