tools/adflib: build only host variant which is used by Sam440 target
[AROS.git] / arch / m68k-amiga / hidd / gfx / amigavideobitmap.h
blobd4bab73a138bd1f59e6ebc87b51bb9e5d1fcbba4
1 /*
2 Copyright 1995-2010, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #ifndef _AMIGABITMAP_H
7 #define _AMIGABITMAP_H
9 #define IID_Hidd_AmigaVideoBitMap "hidd.bitmap.amigavideobitmap"
11 enum
13 aoHidd_AmigaVideoBitMap_Drawable,
14 num_Hidd_AmigaVideoBitMap_Attrs
17 #define aHidd_AmigaVideoBitMap_Drawable (__IHidd_AmigaVideoBitmap + aoHidd_AmigaVideoBitMap_Drawable)
19 #define IS_BM_ATTR(attr, idx) ( ( (idx) = (attr) - __IHidd_Attr) < num_Hidd_BitMap_Attrs)
20 #define IS_AmigaVideoBM_ATTR(attr, idx) ( ( (idx) = (attr) - __IHidd_AmigaVideoBitmap) < num_Hidd_AmigaVideoBitMap_Attrs)
23 /* This structure is used as instance data for the bitmap class.
26 struct amigabm_data
28 struct MinNode node;
29 struct BitMap *pbm;
30 WORD width;
31 WORD height;
32 WORD bytesperrow;
33 UBYTE depth;
34 UBYTE planebuf_size;
35 WORD topedge, leftedge;
36 BOOL disp;
37 WORD align;
38 WORD displaywidth;
39 WORD displayheight;
40 /* pixel read/write cache */
41 ULONG pixelcacheoffset;
42 UBYTE pixelcache[32];
43 ULONG writemask;
46 #include "chipset.h"
48 #endif /* _AMIGABITMAP_H */