Indentation fix, cleanup.
[AROS.git] / compiler / coolimages / kbdimage.c
blobd21183fbff61b4d2be4700cd3b886f6e4154cbbc
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include "coolimages.h"
8 #define KBDIMAGE_WIDTH 16
9 #define KBDIMAGE_HEIGHT 14
10 #define KBDIMAGE_COLORS 16
12 static const UBYTE kbdimage_data[] =
14 0,0,0,0,0,0,0,0,8,0,0,0,0,0,0,0,
15 0,0,0,0,0,0,0,4,3,15,11,0,0,0,0,0,
16 0,0,0,0,0,0,15,4,15,11,4,3,15,0,0,0,
17 0,0,0,0,0,3,4,4,3,8,11,15,4,15,2,0,
18 0,0,0,0,3,8,3,15,14,15,8,3,7,11,12,4,
19 0,0,0,4,3,3,3,14,15,6,3,10,9,12,1,8,
20 0,0,4,4,3,15,14,15,6,4,7,9,12,1,3,0,
21 0,3,4,3,15,10,15,6,4,6,9,12,1,15,0,0,
22 15,4,15,4,14,15,4,4,6,2,12,1,15,0,0,0,
23 5,6,10,11,9,6,3,6,13,12,1,15,0,0,0,0,
24 1,2,3,6,10,3,7,2,12,12,15,0,0,0,0,0,
25 0,9,13,13,15,10,2,12,1,15,0,0,0,0,0,0,
26 0,0,0,15,13,13,12,12,4,0,0,0,0,0,0,0,
27 0,0,0,0,0,11,2,7,0,0,0,0,0,0,0,0
30 static const UBYTE kbdimage_pal[] =
32 #if 1
33 #define COL(a,b,c) (a + b + c) / 3, (a + b + c) / 3, (a + b + c) / 3
35 COL(182,179,182),
36 COL( 73, 97, 68),
37 COL(116,148,110),
38 COL(153,179,148),
39 COL(158,182,153),
40 COL( 86,110, 78),
41 COL(184,203,180),
42 COL(178,198,174),
43 COL(162,186,156),
44 COL(119,154,111),
45 COL(172,194,168),
46 COL(128,161,123),
47 COL( 63, 85, 59),
48 COL(108,141,101),
49 COL(167,190,163),
50 COL(144,172,139)
51 #else
52 182,179,182,
53 73, 97, 68,
54 116,148,110,
55 153,179,148,
56 158,182,153,
57 86,110, 78,
58 184,203,180,
59 178,198,174,
60 162,186,156,
61 119,154,111,
62 172,194,168,
63 128,161,123,
64 63, 85, 59,
65 108,141,101,
66 167,190,163,
67 144,172,139
68 #endif
71 const struct CoolImage cool_kbdimage =
73 kbdimage_data,
74 kbdimage_pal,
75 KBDIMAGE_WIDTH,
76 KBDIMAGE_HEIGHT,
77 KBDIMAGE_COLORS