2 Copyright © 1995-2015, The AROS Development Team. All rights reserved.
5 Desc: Common data structures of androidgfx.hidd
9 #include <exec/tasks.h>
10 #include <hidd/unixio.h>
15 struct agfx_staticdata
17 OOP_AttrBase
*AttrBases
;
19 OOP_Class
*basebm
; /* baseclass for CreateObject */
23 OOP_Class
*mouseclass
;
26 struct mouse_data
*mousehidd
;
27 struct kbd_data
*kbdhidd
;
33 struct uioInterrupt serverInt
;
34 struct MinList waitQueue
;
39 struct Library library
;
40 struct agfx_staticdata xsd
;
43 #define XSD(cl) (&((struct AGFXBase *)cl->UserData)->xsd)
45 #undef HiddChunkyBMAttrBase
46 #undef HiddBitMapAttrBase
47 #undef HiddSyncAttrBase
48 #undef HiddPixFmtAttrBase
49 #undef HiddGfxAttrBase
53 #define HiddChunkyBMAttrBase XSD(cl)->AttrBases[0]
54 #define HiddBitMapAttrBase XSD(cl)->AttrBases[1]
55 #define HiddSyncAttrBase XSD(cl)->AttrBases[2]
56 #define HiddPixFmtAttrBase XSD(cl)->AttrBases[3]
57 #define HiddGfxAttrBase XSD(cl)->AttrBases[4]
58 #define HiddKbdAB XSD(cl)->AttrBases[5]
59 #define HiddMouseAB XSD(cl)->AttrBases[6]
60 #define HiddAttrBase XSD(cl)->AttrBases[7]