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

Last change on this file since 0170798 was 5fa506d, checked in by Thomas Lopatic <thomas@…>, 7 years ago

Include file cleanup.

  • Property mode set to 100644
File size: 3.5 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/*
32
33*/
34
35/* Background colors */
36
37#define SDBGMM 4
38#define SDBG00 3
39#define SDBG01 4
40#define SDBG02 3
41#define SDBG03 4
42#define SDBG04 3
43#define SDBG05 4
44#define SDBG06 3
45#define SDBG07 4
46#define SDBG08 3
47#define SDBG09 4
48#define SDBG10 3
49#define SDBG11 2
50#define SDBG12 2
51#define SDBG13 3
52#define SDBG14 4
53#define SDBG15 3
54#define SDBG16 2
55
56/* other colors -- Note: groups are colors 3..14 */
57
58#define SD_TEXT 1 /* text */
59
60#define SD_ENTR 6 /* data entry highlight */
61#define SD_CHNG 5 /* changed data highlight */
62
63#define SD_WKEY 1 /* white keys */
64
65#define LN_VRT 1 /* score cursor - vertical line */
66#define LN_HOR 4 /* score cursor - ledger lines */
67
68#define NDMC 4 /* new data margin color */
69
70#define SDCURSR 15 /* score cursor - arrow */
71
72/*
73
74*/
75
76/* character attributes */
77
78#define SDMENUBG (SDBGMM | (SD_TEXT << 4)) /* menu */
79
80#define SDW00ATR (SDBG00 | (SD_TEXT << 4)) /* normal */
81#define SDW00DEA (SDBG00 | (SD_ENTR << 4)) /* data entry */
82
83#define SDW01ATR (SDBG01 | (SD_TEXT << 4)) /* normal */
84#define SDW01DEA (SDBG01 | (SD_ENTR << 4)) /* data entry */
85
86#define SDW02ATR (SDBG02 | (SD_TEXT << 4)) /* normal */
87#define SDW02DEA (SDBG02 | (SD_ENTR << 4)) /* data entry */
88
89#define SDW03ATR (SDBG03 | (SD_TEXT << 4)) /* normal */
90#define SDW03DEA (SDBG03 | (SD_ENTR << 4)) /* data entry */
91
92#define SDW04ATR (SDBG04 | (SD_TEXT << 4)) /* normal */
93#define SDW04DEA (SDBG04 | (SD_ENTR << 4)) /* data entry */
94
95#define SDW05ATR (SDBG05 | (SD_TEXT << 4)) /* normal */
96#define SDW05DEA (SDBG05 | (SD_ENTR << 4)) /* data entry */
97
98#define SDW06ATR (SDBG06 | (SD_TEXT << 4)) /* normal */
99#define SDW06DEA (SDBG06 | (SD_ENTR << 4)) /* data entry */
100
101#define SDW07ATR (SDBG07 | (SD_TEXT << 4)) /* normal */
102#define SDW07DEA (SDBG07 | (SD_ENTR << 4)) /* data entry */
103
104#define SDW08ATR (SDBG08 | (SD_TEXT << 4)) /* normal */
105#define SDW08DEA (SDBG08 | (SD_ENTR << 4)) /* data entry */
106
107#define SDW09ATR (SDBG09 | (SD_TEXT << 4)) /* normal */
108#define SDW09DEA (SDBG09 | (SD_ENTR << 4)) /* data entry */
109
110#define SDW10ATR (SDBG10 | (SD_TEXT << 4)) /* normal */
111#define SDW10DEA (SDBG10 | (SD_ENTR << 4)) /* data entry */
112
113#define SDW11ATR (SDBG11 | (SD_TEXT << 4)) /* normal */
114#define SDW11DEA (SDBG11 | (SD_ENTR << 4)) /* data entry */
115
116#define SDW12ATR (SDBG12 | (SD_TEXT << 4)) /* normal */
117#define SDW12DEA (SDBG12 | (SD_ENTR << 4)) /* data entry */
118
119#define SDW13ATR (SDBG13 | (SD_TEXT << 4)) /* normal */
120#define SDW13DEA (SDBG13 | (SD_ENTR << 4)) /* data entry */
121
122#define SDW14ATR (SDBG14 | (SD_TEXT << 4)) /* normal */
123#define SDW14DEA (SDBG14 | (SD_ENTR << 4)) /* data entry */
124
125#define SDW15ATR (SDBG15 | (SD_TEXT << 4)) /* normal */
126#define SDW15DEA (SDBG15 | (SD_ENTR << 4)) /* data entry */
Note: See TracBrowser for help on using the repository browser.