Build sdi/library by default.
[AROS.git] / test / icon / icon.inc
blob9aed91560dd96005c1fae3629494350ebd311121
1 /*
2  * Copyright (C) 2011, The AROS Development Team.  All rights reserved.
3  * Author: Jason S. McMullan <jason.mcmullan@gmail.com>
4  *
5  * Licensed under the AROS PUBLIC LICENSE (APL) Version 1.1
6  *
7  * Data for the test icon
8  */
10 #include <proto/icon.h>
11 #include <proto/graphics.h>
12 #include <proto/intuition.h>
14 #define test_depth     3
15 #define test_palsize   8
16 #define test_width    15
17 #define test_height   17
18 #define test_transcolor 4
20 const struct ColorRegister test_pal[] = {
21     { 0xff, 0xff, 0xff },
22     { 0x00, 0x00, 0x00 },
23     { 0x00, 0x00, 0xff },
24     { 0x00, 0xff, 0x00 },
25     { 0x00, 0xff, 0xff },
26     { 0xff, 0x00, 0x00 },
27     { 0xff, 0x00, 0xff },
28     { 0xff, 0xff, 0x00 },
31 const struct ColorSpec test_colorspec[] = {
32     { 0, 0xffff, 0xffff, 0xffff },
33     { 1, 0x0000, 0x0000, 0x0000 },
34     { 2, 0x0000, 0x0000, 0xffff },
35     { 3, 0x0000, 0xffff, 0x0000 },
36     { 4, 0x0000, 0xffff, 0xffff },
37     { 5, 0xffff, 0x0000, 0x0000 },
38     { 6, 0xffff, 0x0000, 0xffff },
39     { 7, 0xffff, 0xffff, 0x0000 },
40     { -1 },
43 /* NOTE: The first line should be 0..N, where N is the
44  *       size of the palette. The read-back test uses
45  *       that to identify the screen's icon to pen mapping.
46  */
47 const UBYTE test_img[test_height * test_width] = {
48     0, 1, 2, 3, 4, 5, 6, 7, 0, 0, 0, 0, 1, 1, 1,
50     1, 1, 2, 0, 0, 0, 0, 0, 4, 4, 4, 4, 4, 0, 1,
52     1, 2, 1, 2, 3, 0, 0, 0, 4, 4, 0, 4, 4, 0, 1,
54     0, 3, 2, 1, 2, 3, 0, 0, 4, 4, 4, 4, 4, 0, 0,
56     0, 4, 3, 2, 1, 3, 4, 0, 0, 0, 0, 0, 0, 0, 0,
58     0, 5, 4, 3, 2, 1, 2, 3, 4, 5, 0, 0, 0, 0, 0,
60     0, 6, 5, 4, 3, 2, 1, 2, 3, 4, 5, 6, 0, 0, 0,
62     0, 7, 6, 5, 4, 3, 2, 1, 2, 3, 4, 5, 6, 7, 0,
64     0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0,
66     0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0,
68     0, 7, 7, 7, 7, 7, 7, 7, 7, 7, 1, 0, 0, 0, 0,
70     0, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 1, 0, 0, 0,
72     0, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 1, 0, 0,
74     0, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 0,
76     1, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 1,
78     1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1,
80     1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1,
83 const LONG test_type = WBPROJECT;
85 CONST_STRPTR test_defaulttool = "diskobj";
87 CONST_STRPTR test_tooltypes[] = {
88     "BUNNY=FooFoo",
89     "EAGLE=Nest",
90     NULL