1 #include <exec/interrupts.h>
2 #include <exec/libraries.h>
3 #include <exec/tasks.h>
6 #include "native_api.h"
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);
25 struct UIKitInterface
*iface
;
26 struct DisplayMetrics metrics
;
27 OOP_Class
*basebm
; /* baseclass for CreateObject */
31 OOP_Class
*mouseclass
;
32 struct Task
*eventTask
;
34 struct Interrupt eventInt
;
37 #define HostLibBase base->hostlibBase
39 void EventTask(struct UIKitBase
*base
);