2 * Copyright (C) 2011, The AROS Development Team. All rights reserved.
3 * Author: Jason S. McMullan <jason.mcmullan@gmail.com>
5 * Licensed under the AROS PUBLIC LICENSE (APL) Version 1.1
7 * Data for the test icon
10 #include <proto/icon.h>
11 #include <proto/graphics.h>
12 #include <proto/intuition.h>
15 #define test_palsize 8
17 #define test_height 17
18 #define test_transcolor 4
20 const struct ColorRegister test_pal[] = {
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 },
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.
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[] = {