2 Copyright © 1995-2011, The AROS Development Team. All rights reserved.
9 #include <hidd/graphics.h>
11 #define IS_BM_ATTR(attr, idx) ( ( (idx) = (attr) - HiddBitMapAttrBase) < num_Hidd_BitMap_Attrs)
14 This structure is used as instance data for the bitmap class.
18 UBYTE
*VideoData
; /* Pointing to video data */
19 LONG width
; /* Bitmap size */
23 UBYTE
* DAC
; /* Hardware palette registers */
24 BYTE bpp
; /* Cached bits per pixel */
25 BYTE disp
; /* !=0 - displayable */
26 OOP_Object
*pixfmtobj
; /* Cached pixelformat object */
27 OOP_Object
*gfxhidd
; /* Cached driver object */
28 LONG disp_width
; /* Display size */
30 LONG xoffset
; /* Bitmap offset */
34 #endif /* _BITMAP_H */