rename the directory
[AROS.git] / arch / all-ios / hidd / uikit / bitmapclass.h
blob19483922eed8222087e609999537e9be7e7347cb
1 #define AO(x) (aoHidd_BitMap_ ## x)
2 #define GOT_BM_ATTR(code) GOT_ATTR(code, aoHidd_BitMap, bitmap)
3 #define IS_BM_ATTR(attr, idx) (((idx) = (attr) - HiddBitMapAttrBase) < num_Hidd_BitMap_Attrs)
5 struct bitmap_data
7 int left; /* Physical coordinates of top-left corner */
8 int top;
9 unsigned int width; /* Bitmap size */
10 unsigned int height;
11 unsigned int mod; /* Bytes per line */
12 unsigned int win_width; /* Display window size */
13 unsigned int win_height;
14 void *pixels; /* Address in memory */
15 void *context; /* Core Graphics context */
16 unsigned char orientation; /* Orientation (portrait on landscape) */