-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCOLORS.PAS
128 lines (121 loc) · 3 KB
/
COLORS.PAS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{$I COMPILER.INC}
unit Colors;
interface
uses
AplObj,
Palettes;
type
PColors = ^TColors;
TColors = record
Desktop: byte;
DesktopBack: byte;
Button: byte;
ButtonBack: byte;
ButtonBorder: byte;
ButtonShadow: byte;
ButtonLight: byte;
ButtonDownBack: byte;
ButtonDisabled: byte;
ButtonDisabledBack: byte;
ButtonHighlight: byte;
View: byte;
ViewBack: byte;
Window: byte;
WindowBorder: byte;
WindowBack: byte;
WindowTitle: byte;
WindowTitleBack: byte;
WindowShadow: byte;
WindowLight: byte;
WindowTitleActive: byte;
WindowTitleActiveBack: byte;
WindowBorderActive: byte;
Shortcut: byte;
SelectedShortcut: byte;
Menu: byte;
MenuBack: byte;
MenuBorder: byte;
MenuSelected: byte;
MenuSelectedBack: byte;
MenuDisabled: byte;
MenuDisabledBack: byte;
Scrollbar: byte;
ScrollbarBack: byte;
Editor: byte;
EditorBack: byte;
EditorDisabled: byte;
EditorDisabledBack: byte;
EditorFocused: byte;
EditorFocusedBack: byte;
EditorBorder: byte;
Dialog: byte;
DialogBack: byte;
Select: byte;
SelectBack: byte;
ListSelected: byte;
ListSelectedBack: byte;
ListUnfocusedSelect: byte;
ListUnfocusedSelectBack: byte;
Focused: byte;
FocusedBack: byte;
FocusRectColor: byte;
end;
const
LightColors: TColors =
(
Desktop: egaWhite;
DesktopBack: egaCyan;
Button: egaBlack;
ButtonBack: egaLightGray;
ButtonBorder: egaBlack;
ButtonShadow: egaDarkGray;
ButtonLight: egaWhite;
ButtonDownBack: egaDarkGray;
ButtonDisabled: egaDarkGray;
ButtonDisabledBack: egaLightGray;
ButtonHighlight: egaBlue;
View: egaBlack;
ViewBack: egaWhite;
Window: egaBlack;
WindowBorder: egaBlack;
WindowBack: egaLightGray;
WindowTitle: egaBlack;
WindowTitleBack: egaDarkGray;
WindowShadow: egaDarkGray;
WindowLight: egaWhite;
WindowTitleActive: egaWhite;
WindowTitleActiveBack: egaBlue;
WindowBorderActive: egaBlack;
Shortcut: egaLightBlue;
SelectedShortcut: egaLightBlue;
Menu: egaBlack;
MenuBack: egaWhite;
MenuBorder: egaBlack;
MenuSelected: egaWhite;
MenuSelectedBack: egaBlue;
MenuDisabled: egaLightGray;
MenuDisabledBack: egaWhite;
Scrollbar: egaLightGray;
ScrollbarBack: egaDarkGray;
Editor: egaBlack;
EditorBack: egaWhite;
EditorDisabled: egaLightGray;
EditorDisabledBack: egaWhite;
EditorFocused: egaWhite;
EditorFocusedBack: egaBlue;
EditorBorder: egaBlack;
Dialog: egaWhite;
DialogBack: egaDarkGray;
Select: egaBlue;
SelectBack: egaWhite;
ListSelected: egaWhite;
ListSelectedBack: egaBlue;
ListUnfocusedSelect: egaBlack;
ListUnfocusedSelectBack: egaLightGray;
Focused: egaWhite;
FocusedBack: egaBlue;
FocusRectColor: egaBlue
);
implementation
begin
end.