grub2: bring back build of aros-side grub2 tools
[AROS.git] / workbench / classes / zune / rawimage / Rawimage_mcc.h
blob0dce91c29094be60cb965038f42815a06fb2954c
1 #ifndef RAWIMAGE_MCC_H
2 #define RAWIMAGE_MCC_H
4 /*
5 Copyright © 2011, Thore Böckelmann. All rights reserved.
6 Copyright © 2012, The AROS Development Team. All rights reserved.
7 $Id$
8 */
11 #include <libraries/mui.h>
13 /*** Name *******************************************************************/
14 #define MUIC_Rawimage "Rawimage.mcc"
16 /*** Identifier base ********************************************************/
18 /*** Protected Attributes ***************************************************/
19 #define MUIA_Rawimage_Data 0xFED10014ul /* [IS.] struct MUI_RawimageData * v20.1 (06.01.2007) */
21 /*** Macros *****************************************************************/
22 #define RawimageObject MUIOBJMACRO_START(MUIC_Rawimage)
24 #define RAWIMAGE_PIXELFORMAT_ARGB 0
25 #define RAWIMAGE_PIXELFORMAT_RGB 1
27 #define RAWIMAGE_FORMAT_RAW_ARGB_ID RAWIMAGE_PIXELFORMAT_ARGB
28 #define RAWIMAGE_FORMAT_RAW_RGB_ID RAWIMAGE_PIXELFORMAT_RGB
29 #define RAWIMAGE_FORMAT_BZ2_ARGB_ID MAKE_ID('B', 'Z', '2', RAWIMAGE_PIXELFORMAT_ARGB)
30 #define RAWIMAGE_FORMAT_BZ2_RGB_ID MAKE_ID('B', 'Z', '2', RAWIMAGE_PIXELFORMAT_RGB )
31 #define RAWIMAGE_FORMAT_Z_ARGB_ID MAKE_ID('Z', 0x0, 0x0, RAWIMAGE_PIXELFORMAT_ARGB)
32 #define RAWIMAGE_FORMAT_Z_RGB_ID MAKE_ID('Z', 0x0, 0x0, RAWIMAGE_PIXELFORMAT_RGB )
33 #define RAWIMAGE_FORMAT_RLE_ARGB_ID MAKE_ID('R', 'L', 'E', RAWIMAGE_PIXELFORMAT_ARGB)
34 #define RAWIMAGE_FORMAT_RLE_RGB_ID MAKE_ID('R', 'L', 'E', RAWIMAGE_PIXELFORMAT_RGB )
35 #define RAWIMAGE_FORMAT_LZMA_ARGB_ID MAKE_ID('L', 'Z', 'M', RAWIMAGE_PIXELFORMAT_ARGB)
36 #define RAWIMAGE_FORMAT_LZMA_RGB_ID MAKE_ID('L', 'Z', 'M', RAWIMAGE_PIXELFORMAT_RGB )
38 /*** Structs ****************************************************************/
39 struct MUI_RawimageData
41 ULONG ri_Width;
42 ULONG ri_Height;
43 ULONG ri_Format;
44 ULONG ri_Size;
45 ULONG ri_Data[0];
48 #endif /* RAWIMAGE_MCC_H */