source: buchla-68k/orig/lib/INCLUDE/SCDSP.H@ 73dd55f

Last change on this file since 73dd55f was 3ae31e9, checked in by Thomas Lopatic <thomas@…>, 7 years ago

Imported original source code.

  • Property mode set to 100755
File size: 3.6 KB
Line 
1/*
2 =============================================================================
3 scdsp.h -- score display definitions
4 Version 14 -- 1988-08-16 -- D.N. Lynx Crowe
5
6 Uses definitions from "graphdef.h", "midas.h" and "vsdd.h"
7 =============================================================================
8*/
9
10#define SCOROBP 1 /* score object priority */
11
12#define N_SHARP 4 /* note control code for sharps */
13#define N_FLAT 1 /* note control code for flats */
14
15#define OBFL_01 (BIT3) /* cursor - underline */
16
17#define OBFL_08 (CHR3) /* character text */
18
19#define OBFL_11 (BIT3) /* window */
20
21#define OBFL_13 (BIT3) /* keyboard */
22#define OBFL_14 (BIT3 | V_TDE) /* score */
23#define OBFL_15 (BIT3 | V_TDE) /* lines */
24
25#define C1X 256 /* initial arrow cursor position */
26#define C1Y 175
27
28/*
29
30*/
31
32/* Background colors */
33
34#define SDBGMM 4
35#define SDBG00 3
36#define SDBG01 4
37#define SDBG02 3
38#define SDBG03 4
39#define SDBG04 3
40#define SDBG05 4
41#define SDBG06 3
42#define SDBG07 4
43#define SDBG08 3
44#define SDBG09 4
45#define SDBG10 3
46#define SDBG11 2
47#define SDBG12 2
48#define SDBG13 3
49#define SDBG14 4
50#define SDBG15 3
51#define SDBG16 2
52
53/* other colors -- Note: groups are colors 3..14 */
54
55#define SD_TEXT 1 /* text */
56
57#define SD_ENTR 6 /* data entry highlight */
58#define SD_CHNG 5 /* changed data highlight */
59
60#define SD_WKEY 1 /* white keys */
61
62#define LN_VRT 1 /* score cursor - vertical line */
63#define LN_HOR 4 /* score cursor - ledger lines */
64
65#define NDMC 4 /* new data margin color */
66
67#define SDCURSR 15 /* score cursor - arrow */
68
69/*
70
71*/
72
73/* character attributes */
74
75#define SDMENUBG (SDBGMM | (SD_TEXT << 4)) /* menu */
76
77#define SDW00ATR (SDBG00 | (SD_TEXT << 4)) /* normal */
78#define SDW00DEA (SDBG00 | (SD_ENTR << 4)) /* data entry */
79
80#define SDW01ATR (SDBG01 | (SD_TEXT << 4)) /* normal */
81#define SDW01DEA (SDBG01 | (SD_ENTR << 4)) /* data entry */
82
83#define SDW02ATR (SDBG02 | (SD_TEXT << 4)) /* normal */
84#define SDW02DEA (SDBG02 | (SD_ENTR << 4)) /* data entry */
85
86#define SDW03ATR (SDBG03 | (SD_TEXT << 4)) /* normal */
87#define SDW03DEA (SDBG03 | (SD_ENTR << 4)) /* data entry */
88
89#define SDW04ATR (SDBG04 | (SD_TEXT << 4)) /* normal */
90#define SDW04DEA (SDBG04 | (SD_ENTR << 4)) /* data entry */
91
92#define SDW05ATR (SDBG05 | (SD_TEXT << 4)) /* normal */
93#define SDW05DEA (SDBG05 | (SD_ENTR << 4)) /* data entry */
94
95#define SDW06ATR (SDBG06 | (SD_TEXT << 4)) /* normal */
96#define SDW06DEA (SDBG06 | (SD_ENTR << 4)) /* data entry */
97
98#define SDW07ATR (SDBG07 | (SD_TEXT << 4)) /* normal */
99#define SDW07DEA (SDBG07 | (SD_ENTR << 4)) /* data entry */
100
101#define SDW08ATR (SDBG08 | (SD_TEXT << 4)) /* normal */
102#define SDW08DEA (SDBG08 | (SD_ENTR << 4)) /* data entry */
103
104#define SDW09ATR (SDBG09 | (SD_TEXT << 4)) /* normal */
105#define SDW09DEA (SDBG09 | (SD_ENTR << 4)) /* data entry */
106
107#define SDW10ATR (SDBG10 | (SD_TEXT << 4)) /* normal */
108#define SDW10DEA (SDBG10 | (SD_ENTR << 4)) /* data entry */
109
110#define SDW11ATR (SDBG11 | (SD_TEXT << 4)) /* normal */
111#define SDW11DEA (SDBG11 | (SD_ENTR << 4)) /* data entry */
112
113#define SDW12ATR (SDBG12 | (SD_TEXT << 4)) /* normal */
114#define SDW12DEA (SDBG12 | (SD_ENTR << 4)) /* data entry */
115
116#define SDW13ATR (SDBG13 | (SD_TEXT << 4)) /* normal */
117#define SDW13DEA (SDBG13 | (SD_ENTR << 4)) /* data entry */
118
119#define SDW14ATR (SDBG14 | (SD_TEXT << 4)) /* normal */
120#define SDW14DEA (SDBG14 | (SD_ENTR << 4)) /* data entry */
121
122#define SDW15ATR (SDBG15 | (SD_TEXT << 4)) /* normal */
123#define SDW15DEA (SDBG15 | (SD_ENTR << 4)) /* data entry */
Note: See TracBrowser for help on using the repository browser.