locale.library: correctly return the position of remaining datastream
[AROS.git] / workbench / libs / cgxvideo / cgxvideo_intern.h
blob6425aa0ed7682e251bd608b546bb9a8fe134adf0
1 #ifndef CGXVIDEO_INTERN_H
2 #define CGXVIDEO_INTERN_H
4 #ifndef EXEC_LIBRARIES_H
5 # include <exec/libraries.h>
6 #endif
8 #ifndef EXEC_LISTS_H
9 # include <exec/lists.h>
10 #endif
12 #ifndef DOS_BPTR_H
13 # include <dos/bptr.h>
14 #endif
16 #ifndef AROS_LIBCALL_H
17 # include <aros/libcall.h>
18 #endif
20 #ifndef GRAPHICS_RASTPORT_H
21 # include <graphics/rastport.h>
22 #endif
24 #ifndef UTILITY_TAGITEM_H
25 # include <utility/tagitem.h>
26 #endif
28 #ifndef GRAPHICS_VIEW_H
29 # include <graphics/view.h>
30 #endif
32 #include <oop/oop.h>
34 #undef HiddBitMapAttrBase
35 #undef HiddOverlayAttrBase
37 struct IntCGXVBase
39 struct Library libnode;
40 OOP_AttrBase HiddBitMapAttrBase;
41 OOP_AttrBase HiddOverlayAttrBase;
42 struct OOP_ABDescr attrbases[3];
45 #define GetCGXVBase(base) ((struct IntCGXVBase *)base)
46 #define HiddBitMapAttrBase (GetCGXVBase(CGXVideoBase)->HiddBitMapAttrBase)
47 #define HiddOverlayAttrBase (GetCGXVBase(CGXVideoBase)->HiddOverlayAttrBase)
49 struct VLayerHandle
51 OOP_Object *obj; /* Overlay object */
52 OOP_Object *drv; /* Graphics driver object */
55 #endif /* CGXVIDEO_INTERN_H */