revert between 56095 -> 55830 in arch
[AROS.git] / arch / all-android / hidd / androidgfx / androidgfx_bitmap.h
blob8c737dc8ea799cd5f9d0f2066c9bde094569ab09
1 /*
2 Copyright 1995-2017, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Android bitmap class definitions
6 Lang: English.
7 */
9 #define AO(x) (aoHidd_BitMap_ ## x)
10 #define GOT_BM_ATTR(code) GOT_ATTR(code, aoHidd_BitMap, bitmap)
11 #define IS_BM_ATTR(attr, idx) (((idx) = (attr) - HiddBitMapAttrBase) < num_Hidd_BitMap_Attrs)
13 struct bitmap_data
15 LONG bm_left; /* Physical coordinates of top-left corner */
16 LONG bm_top;
17 ULONG win_width; /* Display window size */
18 ULONG win_height;
19 ULONG bm_width; /* Bitmap size */
20 ULONG bm_height;
21 ULONG mod; /* Bytes per line */
22 IPTR pixels; /* Address in memory */
23 BOOL visible;
24 UBYTE orientation;