rename the directory
[AROS.git] / arch / all-android / hidd / androidgfx / agfx.h
blob87093b38cf135fccba519e9973812fff9a84a313
1 /*
2 Copyright © 1995-2015, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Common data structures of androidgfx.hidd
6 Lang: English.
7 */
9 #include <exec/tasks.h>
10 #include <hidd/unixio.h>
12 struct kbd_data;
13 struct mouse_data;
15 struct agfx_staticdata
17 OOP_AttrBase *AttrBases;
19 OOP_Class *basebm; /* baseclass for CreateObject */
21 OOP_Class *gfxclass;
22 OOP_Class *bmclass;
23 OOP_Class *mouseclass;
24 OOP_Class *kbdclass;
26 struct mouse_data *mousehidd;
27 struct kbd_data *kbdhidd;
28 OOP_Object *unixio;
30 int DisplayPipe;
31 int InputPipe;
33 struct uioInterrupt serverInt;
34 struct MinList waitQueue;
37 struct AGFXBase
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
50 #undef HiddKbdAB
51 #undef HiddMouseAB
52 #undef HiddAttrBase
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]