NetSurf
palettes.c
Go to the documentation of this file.
1/*
2 * Copyright 2006 Adrian Lees <adrianl@users.sourceforge.net>
3 *
4 * This file is part of NetSurf, http://www.netsurf-browser.org/
5 *
6 * NetSurf is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * NetSurf is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19/** \file
20 * Palette definitions for sprites
21 */
22
23#include "riscos/palettes.h"
24
25
26const os_colour default_palette1[] =
27{
28 0xffffff00, 0xffffff00,
29 0x00000000, 0x00000000
30};
31
32
33const os_colour default_palette2[] =
34{
35 0xffffff00, 0xffffff00,
36 0xbbbbbb00, 0xbbbbbb00,
37 0x77777700, 0x77777700,
38 0x00000000, 0x00000000
39};
40
41
42const os_colour wimp_palette[] =
43{
44 0xffffff00, 0xffffff00,
45 0xdddddd00, 0xdddddd00,
46 0xbbbbbb00, 0xbbbbbb00,
47 0x99999900, 0x99999900,
48 0x77777700, 0x77777700,
49 0x55555500, 0x55555500,
50 0x33333300, 0x33333300,
51 0x00000000, 0x00000000,
52 0x99440000, 0x99440000,
53 0x00eeee00, 0x00eeee00,
54 0x00cc0000, 0x00cc0000,
55 0x0000dd00, 0x0000dd00,
56 0xbbeeee00, 0xbbeeee00,
57 0x00885500, 0x00885500,
58 0x00bbff00, 0x00bbff00,
59 0xffbb0000, 0xffbb0000
60};
61
62
63const os_colour default_palette8[] =
64{
65 0x00000010, 0x00000010,
66 0x11111110, 0x11111110,
67 0x22222210, 0x22222210,
68 0x33333310, 0x33333310,
69 0x00004410, 0x00004410,
70 0x11115510, 0x11115510,
71 0x22226610, 0x22226610,
72 0x33337710, 0x33337710,
73 0x44000010, 0x44000010,
74 0x55111110, 0x55111110,
75 0x66222210, 0x66222210,
76 0x77333310, 0x77333310,
77 0x44004410, 0x44004410,
78 0x55115510, 0x55115510,
79 0x66226610, 0x66226610,
80 0x77337710, 0x77337710,
81 0x00008810, 0x00008810,
82 0x11119910, 0x11119910,
83 0x2222AA10, 0x2222AA10,
84 0x3333BB10, 0x3333BB10,
85 0x0000CC10, 0x0000CC10,
86 0x1111DD10, 0x1111DD10,
87 0x2222EE10, 0x2222EE10,
88 0x3333FF10, 0x3333FF10,
89 0x44008810, 0x44008810,
90 0x55119910, 0x55119910,
91 0x6622AA10, 0x6622AA10,
92 0x7733BB10, 0x7733BB10,
93 0x4400CC10, 0x4400CC10,
94 0x5511DD10, 0x5511DD10,
95 0x6622EE10, 0x6622EE10,
96 0x7733FF10, 0x7733FF10,
97 0x00440010, 0x00440010,
98 0x11551110, 0x11551110,
99 0x22662210, 0x22662210,
100 0x33773310, 0x33773310,
101 0x00444410, 0x00444410,
102 0x11555510, 0x11555510,
103 0x22666610, 0x22666610,
104 0x33777710, 0x33777710,
105 0x44440010, 0x44440010,
106 0x55551110, 0x55551110,
107 0x66662210, 0x66662210,
108 0x77773310, 0x77773310,
109 0x44444410, 0x44444410,
110 0x55555510, 0x55555510,
111 0x66666610, 0x66666610,
112 0x77777710, 0x77777710,
113 0x00448810, 0x00448810,
114 0x11559910, 0x11559910,
115 0x2266AA10, 0x2266AA10,
116 0x3377BB10, 0x3377BB10,
117 0x0044CC10, 0x0044CC10,
118 0x1155DD10, 0x1155DD10,
119 0x2266EE10, 0x2266EE10,
120 0x3377FF10, 0x3377FF10,
121 0x44448810, 0x44448810,
122 0x55559910, 0x55559910,
123 0x6666AA10, 0x6666AA10,
124 0x7777BB10, 0x7777BB10,
125 0x4444CC10, 0x4444CC10,
126 0x5555DD10, 0x5555DD10,
127 0x6666EE10, 0x6666EE10,
128 0x7777FF10, 0x7777FF10,
129 0x00880010, 0x00880010,
130 0x11991110, 0x11991110,
131 0x22AA2210, 0x22AA2210,
132 0x33BB3310, 0x33BB3310,
133 0x00884410, 0x00884410,
134 0x11995510, 0x11995510,
135 0x22AA6610, 0x22AA6610,
136 0x33BB7710, 0x33BB7710,
137 0x44880010, 0x44880010,
138 0x55991110, 0x55991110,
139 0x66AA2210, 0x66AA2210,
140 0x77BB3310, 0x77BB3310,
141 0x44884410, 0x44884410,
142 0x55995510, 0x55995510,
143 0x66AA6610, 0x66AA6610,
144 0x77BB7710, 0x77BB7710,
145 0x00888810, 0x00888810,
146 0x11999910, 0x11999910,
147 0x22AAAA10, 0x22AAAA10,
148 0x33BBBB10, 0x33BBBB10,
149 0x0088CC10, 0x0088CC10,
150 0x1199DD10, 0x1199DD10,
151 0x22AAEE10, 0x22AAEE10,
152 0x33BBFF10, 0x33BBFF10,
153 0x44888810, 0x44888810,
154 0x55999910, 0x55999910,
155 0x66AAAA10, 0x66AAAA10,
156 0x77BBBB10, 0x77BBBB10,
157 0x4488CC10, 0x4488CC10,
158 0x5599DD10, 0x5599DD10,
159 0x66AAEE10, 0x66AAEE10,
160 0x77BBFF10, 0x77BBFF10,
161 0x00CC0010, 0x00CC0010,
162 0x11DD1110, 0x11DD1110,
163 0x22EE2210, 0x22EE2210,
164 0x33FF3310, 0x33FF3310,
165 0x00CC4410, 0x00CC4410,
166 0x11DD5510, 0x11DD5510,
167 0x22EE6610, 0x22EE6610,
168 0x33FF7710, 0x33FF7710,
169 0x44CC0010, 0x44CC0010,
170 0x55DD1110, 0x55DD1110,
171 0x66EE2210, 0x66EE2210,
172 0x77FF3310, 0x77FF3310,
173 0x44CC4410, 0x44CC4410,
174 0x55DD5510, 0x55DD5510,
175 0x66EE6610, 0x66EE6610,
176 0x77FF7710, 0x77FF7710,
177 0x00CC8810, 0x00CC8810,
178 0x11DD9910, 0x11DD9910,
179 0x22EEAA10, 0x22EEAA10,
180 0x33FFBB10, 0x33FFBB10,
181 0x00CCCC10, 0x00CCCC10,
182 0x11DDDD10, 0x11DDDD10,
183 0x22EEEE10, 0x22EEEE10,
184 0x33FFFF10, 0x33FFFF10,
185 0x44CC8810, 0x44CC8810,
186 0x55DD9910, 0x55DD9910,
187 0x66EEAA10, 0x66EEAA10,
188 0x77FFBB10, 0x77FFBB10,
189 0x44CCCC10, 0x44CCCC10,
190 0x55DDDD10, 0x55DDDD10,
191 0x66EEEE10, 0x66EEEE10,
192 0x77FFFF10, 0x77FFFF10,
193 0x88000010, 0x88000010,
194 0x99111110, 0x99111110,
195 0xAA222210, 0xAA222210,
196 0xBB333310, 0xBB333310,
197 0x88004410, 0x88004410,
198 0x99115510, 0x99115510,
199 0xAA226610, 0xAA226610,
200 0xBB337710, 0xBB337710,
201 0xCC000010, 0xCC000010,
202 0xDD111110, 0xDD111110,
203 0xEE222210, 0xEE222210,
204 0xFF333310, 0xFF333310,
205 0xCC004410, 0xCC004410,
206 0xDD115510, 0xDD115510,
207 0xEE226610, 0xEE226610,
208 0xFF337710, 0xFF337710,
209 0x88008810, 0x88008810,
210 0x99119910, 0x99119910,
211 0xAA22AA10, 0xAA22AA10,
212 0xBB33BB10, 0xBB33BB10,
213 0x8800CC10, 0x8800CC10,
214 0x9911DD10, 0x9911DD10,
215 0xAA22EE10, 0xAA22EE10,
216 0xBB33FF10, 0xBB33FF10,
217 0xCC008810, 0xCC008810,
218 0xDD119910, 0xDD119910,
219 0xEE22AA10, 0xEE22AA10,
220 0xFF33BB10, 0xFF33BB10,
221 0xCC00CC10, 0xCC00CC10,
222 0xDD11DD10, 0xDD11DD10,
223 0xEE22EE10, 0xEE22EE10,
224 0xFF33FF10, 0xFF33FF10,
225 0x88440010, 0x88440010,
226 0x99551110, 0x99551110,
227 0xAA662210, 0xAA662210,
228 0xBB773310, 0xBB773310,
229 0x88444410, 0x88444410,
230 0x99555510, 0x99555510,
231 0xAA666610, 0xAA666610,
232 0xBB777710, 0xBB777710,
233 0xCC440010, 0xCC440010,
234 0xDD551110, 0xDD551110,
235 0xEE662210, 0xEE662210,
236 0xFF773310, 0xFF773310,
237 0xCC444410, 0xCC444410,
238 0xDD555510, 0xDD555510,
239 0xEE666610, 0xEE666610,
240 0xFF777710, 0xFF777710,
241 0x88448810, 0x88448810,
242 0x99559910, 0x99559910,
243 0xAA66AA10, 0xAA66AA10,
244 0xBB77BB10, 0xBB77BB10,
245 0x8844CC10, 0x8844CC10,
246 0x9955DD10, 0x9955DD10,
247 0xAA66EE10, 0xAA66EE10,
248 0xBB77FF10, 0xBB77FF10,
249 0xCC448810, 0xCC448810,
250 0xDD559910, 0xDD559910,
251 0xEE66AA10, 0xEE66AA10,
252 0xFF77BB10, 0xFF77BB10,
253 0xCC44CC10, 0xCC44CC10,
254 0xDD55DD10, 0xDD55DD10,
255 0xEE66EE10, 0xEE66EE10,
256 0xFF77FF10, 0xFF77FF10,
257 0x88880010, 0x88880010,
258 0x99991110, 0x99991110,
259 0xAAAA2210, 0xAAAA2210,
260 0xBBBB3310, 0xBBBB3310,
261 0x88884410, 0x88884410,
262 0x99995510, 0x99995510,
263 0xAAAA6610, 0xAAAA6610,
264 0xBBBB7710, 0xBBBB7710,
265 0xCC880010, 0xCC880010,
266 0xDD991110, 0xDD991110,
267 0xEEAA2210, 0xEEAA2210,
268 0xFFBB3310, 0xFFBB3310,
269 0xCC884410, 0xCC884410,
270 0xDD995510, 0xDD995510,
271 0xEEAA6610, 0xEEAA6610,
272 0xFFBB7710, 0xFFBB7710,
273 0x88888810, 0x88888810,
274 0x99999910, 0x99999910,
275 0xAAAAAA10, 0xAAAAAA10,
276 0xBBBBBB10, 0xBBBBBB10,
277 0x8888CC10, 0x8888CC10,
278 0x9999DD10, 0x9999DD10,
279 0xAAAAEE10, 0xAAAAEE10,
280 0xBBBBFF10, 0xBBBBFF10,
281 0xCC888810, 0xCC888810,
282 0xDD999910, 0xDD999910,
283 0xEEAAAA10, 0xEEAAAA10,
284 0xFFBBBB10, 0xFFBBBB10,
285 0xCC88CC10, 0xCC88CC10,
286 0xDD99DD10, 0xDD99DD10,
287 0xEEAAEE10, 0xEEAAEE10,
288 0xFFBBFF10, 0xFFBBFF10,
289 0x88CC0010, 0x88CC0010,
290 0x99DD1110, 0x99DD1110,
291 0xAAEE2210, 0xAAEE2210,
292 0xBBFF3310, 0xBBFF3310,
293 0x88CC4410, 0x88CC4410,
294 0x99DD5510, 0x99DD5510,
295 0xAAEE6610, 0xAAEE6610,
296 0xBBFF7710, 0xBBFF7710,
297 0xCCCC0010, 0xCCCC0010,
298 0xDDDD1110, 0xDDDD1110,
299 0xEEEE2210, 0xEEEE2210,
300 0xFFFF3310, 0xFFFF3310,
301 0xCCCC4410, 0xCCCC4410,
302 0xDDDD5510, 0xDDDD5510,
303 0xEEEE6610, 0xEEEE6610,
304 0xFFFF7710, 0xFFFF7710,
305 0x88CC8810, 0x88CC8810,
306 0x99DD9910, 0x99DD9910,
307 0xAAEEAA10, 0xAAEEAA10,
308 0xBBFFBB10, 0xBBFFBB10,
309 0x88CCCC10, 0x88CCCC10,
310 0x99DDDD10, 0x99DDDD10,
311 0xAAEEEE10, 0xAAEEEE10,
312 0xBBFFFF10, 0xBBFFFF10,
313 0xCCCC8810, 0xCCCC8810,
314 0xDDDD9910, 0xDDDD9910,
315 0xEEEEAA10, 0xEEEEAA10,
316 0xFFFFBB10, 0xFFFFBB10,
317 0xCCCCCC10, 0xCCCCCC10,
318 0xDDDDDD10, 0xDDDDDD10,
319 0xEEEEEE10, 0xEEEEEE10,
320 0xFFFFFF10, 0xFFFFFF10
321};
const os_colour default_palette1[]
Definition: palettes.c:26
const os_colour default_palette8[]
Definition: palettes.c:63
const os_colour default_palette2[]
Definition: palettes.c:33
const os_colour wimp_palette[]
Definition: palettes.c:42
Palette definitions for sprites.