2 Copyright © 1995-2017, The AROS Development Team. All rights reserved.
6 #ifndef VESAGFX_BITMAP_H
7 #define VESAGFX_BITMAP_H
11 #define CLID_Hidd_BitMap_VESA "hidd.bitmap.vesa"
12 #define IID_Hidd_BitMap_VESA "hidd.bitmap.vesa"
14 #define IS_BM_ATTR(attr, idx) ( ( (idx) = (attr) - HiddBitMapAttrBase) < num_Hidd_BitMap_Attrs)
17 This structure is used as instance data for the bitmap class.
19 struct VESAGfxBitMapData
21 UBYTE
*VideoData
; /* Pointing to video data */
22 LONG width
; /* Bitmap size */
26 UBYTE
* DAC
; /* Hardware palette registers */
27 BYTE bpp
; /* Cached bits per pixel */
28 BYTE disp
; /* !=0 - displayable */
29 OOP_Object
*pixfmtobj
; /* Cached pixelformat object */
30 OOP_Object
*gfxhidd
; /* Cached driver object */
31 LONG disp_width
; /* Display size */
33 LONG xoffset
; /* Bitmap offset */
37 #endif /* VESAGFX_BITMAP_H */