Tabs to spaces, more consistent formatting.
[AROS.git] / workbench / libs / muimaster / classes / pixmap.h
blobf349d43b1e97f26d7addc15988030b4c4d0281b2
1 #ifndef _MUI_CLASSES_PIXMAP_H
2 #define _MUI_CLASSES_PIXMAP_H
4 /*
5 Copyright © 2011, Thore Böckelmann. All rights reserved.
6 Copyright © 2012, The AROS Development Team. All rights reserved.
7 $Id$
8 */
10 /*** Name *******************************************************************/
11 #define MUIC_Pixmap "Pixmap.mui"
13 /*** Identifier base (for Zune extensions) **********************************/
14 #define MUIB_Pixmap (MUIB_ZUNE | 0x00003600)
16 /*** Methods ****************************************************************/
17 #define MUIM_Pixmap_DrawSection (MUIB_MUI | 0x0042ce0f) /* private, V20 */
19 struct MUIP_Pixmap_DrawSection
21 STACKED ULONG MethodID;
22 STACKED LONG sx;
23 STACKED LONG sy;
24 STACKED LONG sw;
25 STACKED LONG sh;
26 STACKED struct MUI_RenderInfo *mri;
27 STACKED LONG dx;
28 STACKED LONG dy;
29 }; /* private */
31 /*** Attributes *************************************************************/
32 #define MUIA_Pixmap_Alpha \
33 (MUIB_MUI | 0x00421fef) /* V20 isg ULONG */
34 #define MUIA_Pixmap_CLUT \
35 (MUIB_MUI | 0x0042042a) /* V20 isg ULONG * */
36 #define MUIA_Pixmap_CompressedSize \
37 (MUIB_MUI | 0x0042e7e4) /* V20 isg ULONG */
38 #define MUIA_Pixmap_Compression \
39 (MUIB_MUI | 0x0042ce74) /* V20 isg ULONG */
40 #define MUIA_Pixmap_Data \
41 (MUIB_MUI | 0x00429ea0) /* V20 isg APTR */
42 #define MUIA_Pixmap_Format \
43 (MUIB_MUI | 0x0042ab14) /* V20 isg ULONG */
44 #define MUIA_Pixmap_Height \
45 (MUIB_MUI | 0x004288be) /* V20 isg LONG */
46 #define MUIA_Pixmap_UncompressedData \
47 (MUIB_MUI | 0x0042b085) /* V20 ..g APTR */
48 #define MUIA_Pixmap_Width \
49 (MUIB_MUI | 0x0042ccb8) /* V20 isg LONG */
51 #define MUIV_Pixmap_Compression_None 0
52 #define MUIV_Pixmap_Compression_RLE 1
53 #define MUIV_Pixmap_Compression_BZip2 2
54 #define MUIV_Pixmap_Format_CLUT8 0
55 #define MUIV_Pixmap_Format_RGB24 1
56 #define MUIV_Pixmap_Format_ARGB32 2
59 extern const struct __MUIBuiltinClass _MUI_Pixmap_desc; /* PRIV */
61 #endif