wip prep commit in lieu of gfx subsystem update changes.
[AROS.git] / arch / all-ios / hidd / uikit / uikit_intern.h
blob80e268e932cfcf1cb8bfc3933c00a31cbd4d4d99
1 #include <exec/interrupts.h>
2 #include <exec/libraries.h>
3 #include <exec/tasks.h>
4 #include <oop/oop.h>
6 #include "native_api.h"
8 struct bitmap_data;
10 struct UIKitInterface
12 void (*GetMetrics)(struct DisplayMetrics *data);
13 void *(*OpenDisplay)(unsigned int scrNo);
14 void (*CloseDisplay)(void *display);
15 void (*NewContext)(struct bitmap_data *bitmap);
16 void (*DisposeContext)(void *context);
17 void (*PollEvents)(void);
20 struct UIKitBase
22 struct Library lib;
23 APTR hostlibBase;
24 APTR hostlib;
25 struct UIKitInterface *iface;
26 struct DisplayMetrics metrics;
27 OOP_Class *basebm; /* baseclass for CreateObject */
29 OOP_Class *gfxclass;
30 OOP_Class *bmclass;
31 OOP_Class *mouseclass;
32 struct Task *eventTask;
33 ULONG eventMask;
34 struct Interrupt eventInt;
37 #define HostLibBase base->hostlibBase
39 void EventTask(struct UIKitBase *base);