1 #ifndef HIDD_COMPOSITOR_H
2 #define HIDD_COMPOSITOR_H
4 Copyright © 2010-2013, The AROS Development Team. All rights reserved.
9 # include <exec/types.h>
13 # include <hidd/hidd.h>
21 # include <hidd/graphics.h>
24 /* Compositor interface */
25 #define CLID_Hidd_Compositor "hidd.graphics.compositor"
26 #define IID_Hidd_Compositor "hidd.graphics.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_COMPOSITOR_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_COMPOSITOR_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_COMPOSITOR_H */