Merged TextEditor MCC 15.45
[AROS.git] / workbench / classes / zune / texteditor / mcp / icon.h
blobc56790b44ed6c9bed8a840c5217ff844789bdaf2
1 /***************************************************************************
3 TextEditor.mcc - Textediting MUI Custom Class
4 Copyright (C) 1997-2000 Allan Odgaard
5 Copyright (C) 2005-2014 TextEditor.mcc Open Source Team
7 This library is free software; you can redistribute it and/or
8 modify it under the terms of the GNU Lesser General Public
9 License as published by the Free Software Foundation; either
10 version 2.1 of the License, or (at your option) any later version.
12 This library is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 Lesser General Public License for more details.
17 TextEditor class Support Site: http://www.sf.net/projects/texteditor-mcc
19 $Id$
21 ***************************************************************************/
23 #if !defined(__MORPHOS__)
24 // uncompressed ARGB data
25 extern const unsigned long icon32[];
26 #define ICON32_WIDTH 24
27 #define ICON32_HEIGHT 20
28 #define ICON32_DEPTH 32
29 #else
30 // bzip2 compressed ARGB data
31 extern const unsigned char icon32[];
32 #endif
34 #ifdef USE_ICON8_COLORS
35 const ULONG icon8_colors[24] =
37 0x00000000,0x00000000,0x00000000,
38 0x43434343,0x5b5b5b5b,0x97979797,
39 0x7b7b7b7b,0x7b7b7b7b,0x7b7b7b7b,
40 0x86868686,0x90909090,0x8b8b8b8b,
41 0xafafafaf,0xafafafaf,0xafafafaf,
42 0x00000000,0x00000000,0x00000000,
43 0xffffffff,0x9b9b9b9b,0x9b9b9b9b,
44 0xffffffff,0xffffffff,0xffffffff,
46 #endif
48 #define ICON8_WIDTH 24
49 #define ICON8_HEIGHT 14
50 #define ICON8_DEPTH 3
51 #define ICON8_COMPRESSION 0
52 #define ICON8_MASKING 2
54 #ifdef USE_ICON8_HEADER
55 const struct BitMapHeader icon8_header =
56 { 23, 14, 364, 388, 3, 2, 0, 0, 0, 14, 14, 23, 14 };
57 #endif
59 #ifdef USE_ICON8_BODY
60 const UBYTE icon8_body[168] = {
61 0x00,0x00,0x16,0x00,0x00,0x00,0x08,0x00,0x00,0x00,0x0c,0x00,0x00,0x60,0x3c,
62 0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x1c,0x00,0x00,0xf0,0x68,0x00,0x00,0x60,
63 0x30,0x00,0x00,0x60,0x38,0x00,0x01,0xd8,0xd0,0x00,0x00,0xf0,0x60,0x00,0x00,
64 0xf0,0x70,0x00,0x03,0xad,0xa0,0x00,0x01,0xe8,0xc0,0x00,0x01,0xf8,0xe0,0x00,
65 0x07,0x57,0x40,0x00,0x03,0xd5,0x80,0x00,0x03,0xff,0xc0,0x00,0x0e,0xae,0x84,
66 0x00,0x07,0xab,0x18,0x00,0x07,0xff,0x80,0x00,0x1d,0x5d,0xa8,0x00,0x0f,0x56,
67 0x54,0x00,0x0f,0xf7,0x80,0x00,0x3a,0xb2,0x40,0x00,0x1e,0xad,0xb0,0x00,0x1f,
68 0xee,0x40,0x00,0x75,0x4c,0x20,0x00,0x3d,0x52,0x80,0x00,0x3f,0xf5,0x40,0x00,
69 0xea,0x98,0xb0,0x00,0x7a,0x84,0xa0,0x00,0x7f,0xf3,0xe0,0x00,0xd5,0x55,0x58,
70 0x00,0xf5,0x55,0x50,0x00,0xff,0xff,0xf0,0x00,0xaa,0xaa,0xac,0x00,0xea,0xaa,
71 0xa8,0x00,0xff,0xff,0xf8,0x00,0x00,0x00,0x02,0x00,0x2a,0xaa,0xa8,0x00,0x55,
72 0x55,0x54,0x00, };
73 #endif
75 #ifdef USE_ICON8_BITMAP
76 const struct BitMap icon8_bitmap =
78 4, 14, 0, ICON8_DEPTH, 0,
79 { (UBYTE *)icon8_body+(0*14*4),
80 (UBYTE *)icon8_body+(1*14*4),
81 (UBYTE *)icon8_body+(2*14*4),
82 NULL, NULL, NULL, NULL, NULL }
84 #endif