1 /***************************************************************************
3 BetterString.mcc - A better String gadget MUI Custom Class
4 Copyright (C) 1997-2000 Allan Odgaard
5 Copyright (C) 2005-2013 by BetterString.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
21 ***************************************************************************/
23 #if !defined(__MORPHOS__) && !defined(__AROS__)
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
30 // bzip2 compressed ARGB data
31 extern const unsigned char icon32
[];
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 0xffffffff,0xffffffff,0xffffffff,
43 0x00000000,0x00000000,0x00000000,
44 0x00000000,0x00000000,0x00000000,
48 #define ICON8_WIDTH 24
49 #define ICON8_HEIGHT 14
51 #define ICON8_COMPRESSION 0
52 #define ICON8_MASKING 2
54 #ifdef USE_ICON8_HEADER
55 const struct BitMapHeader icon8_header
=
56 { 24, 14, 186, 289, 3, 2, 0, 0, 0, 14, 14, 24, 14 };
60 const UBYTE icon8_body
[168] = {
61 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
62 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
63 0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0xfc,0x00,0x00,0x00,0x02,0x00,0xff,
64 0xff,0xfc,0x00,0x80,0x00,0x02,0x00,0x7f,0xff,0xf8,0x00,0xff,0xff,0xfc,0x00,
65 0x80,0x00,0x04,0x00,0x40,0x00,0x02,0x00,0xff,0xff,0xfe,0x00,0x8c,0x00,0x04,
66 0x00,0x46,0x80,0x02,0x00,0xf1,0x7f,0xfe,0x00,0x85,0x60,0x04,0x00,0x4c,0x20,
67 0x02,0x00,0xf2,0x9f,0xfe,0x00,0x80,0x00,0x04,0x00,0x40,0x00,0x02,0x00,0xff,
68 0xff,0xfe,0x00,0xbf,0xff,0xfc,0x00,0x00,0x00,0x02,0x00,0xff,0xff,0xfe,0x00,
69 0x40,0x00,0x00,0x00,0xbf,0xff,0xfe,0x00,0x3f,0xff,0xfe,0x00,0x00,0x00,0x00,
70 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
71 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
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
}