2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 #ifndef GRAPHICS_HIDD_INTERN_H
7 #define GRAPHICS_HIDD_INTERN_H
11 #ifndef EXEC_LIBRARIES_H
12 # include <exec/libraries.h>
17 #ifndef HIDD_GRAPHICS_H
18 # include <hidd/graphics.h>
21 #include <intuition/screens.h>
24 struct HIDDGraphicsAmigaIntuiData
26 Class
*bitMapClass
; /* bitmap class */
27 Class
*gcClass
; /* graphics context */
31 struct HIDDBitMapAmigaIntuiData
33 struct Screen
*screen
;
36 struct class_static_data
38 struct ExecBase
* sysbase
;
39 struct Library
* utilitybase
;
40 struct Library
* oopbase
;
41 struct Library
* intuitionbase
;
42 struct Library
* superclassbase
; /* graphics hidd superclass */
44 Class
*gfxhiddclass
; /* graphics hidd class */
45 Class
*bitmapclass
; /* bitmap class */
46 Class
*gcclass
; /* graphics context class */
52 struct IntHIDDGraphicsAmigaIntuiBase
54 struct Library hdg_LibNode
;
55 struct ExecBase
*hdg_SysBase
;
56 struct Library
*hdg_UtilityBase
;
59 struct class_static_data
*hdg_csd
;
63 #define CSD(x) ((struct class_static_data *)x)
66 #define SysBase (CSD(cl->UserData)->sysbase)
69 #define UtilityBase (CSD(cl->UserData)->utilitybase)
72 #define OOPBase (CSD(cl->UserData)->oopbase)
75 #define IntuitionBase (CSD(cl->UserData)->intuitionbase)
77 /* pre declarations */
79 Class
*init_gfxhiddclass(struct class_static_data
*csd
);
80 void free_gfxhiddclass(struct class_static_data
*csd
);
82 Class
*init_bitmapclass(struct class_static_data
*csd
);
83 void free_bitmapclass(struct class_static_data
*csd
);
85 #endif /* GRAPHICS_HIDD_INTERN_H */