source: buchla-68k/include/scdsp.h@ 57425b6

Last change on this file since 57425b6 was fa38804, checked in by Thomas Lopatic <thomas@…>, 7 years ago

Removed form-feed comments.

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