1 #ifndef HIDD_COMPOSITING_H
2 #define HIDD_COMPOSITING_H
4 Copyright © 2010, The AROS Development Team. All rights reserved.
9 # include <exec/types.h>
13 # include <hidd/hidd.h>
21 # include <hidd/gfx.h>
24 /* Compositor interface */
25 #define CLID_Hidd_Compositor "hidd.gfx.compositor"
26 #define IID_Hidd_Compositor "hidd.gfx.compositor"
28 #define HiddCompositorAttrBase __IHidd_Compositor
30 #ifndef __OOP_NOATTRBASES__
31 extern OOP_AttrBase HiddCompositorAttrBase
;
34 /* Compositor class methods */
38 moHidd_Compositor_BitMapStackChanged
= 0,
39 moHidd_Compositor_BitMapRectChanged
,
40 moHidd_Compositor_BitMapPositionChanged
,
41 moHidd_Compositor_ValidateBitMapPositionChange
,
43 NUM_COMPOSITING_METHODS
48 aoHidd_Compositor_GfxHidd
= 0, /* [I..] Gfx driver object connected with this compositor object */
50 num_Hidd_Compositor_Attrs
53 #define aHidd_Compositor_GfxHidd (HiddCompositorAttrBase + aoHidd_Compositor_GfxHidd)
55 #define IS_COMPOSITING_ATTR(attr, idx) \
56 (((idx) = (attr) - HiddCompositorAttrBase) < num_Hidd_Compositor_Attrs)
58 struct pHidd_Compositor_BitMapStackChanged
61 struct HIDD_ViewPortData
*data
;
64 struct pHidd_Compositor_BitMapRectChanged
74 struct pHidd_Compositor_BitMapPositionChanged
80 struct pHidd_Compositor_ValidateBitMapPositionChange
88 #endif /* HIDD_COMPOSITING_H */