Hint added.
[AROS.git] / workbench / hidds / nouveau / compositor.h
blob708d426ecd658e3dae29f010747d998f9ea1fa6a
1 #ifndef HIDD_COMPOSITOR_H
2 #define HIDD_COMPOSITOR_H
3 /*
4 Copyright © 2010-2013, The AROS Development Team. All rights reserved.
5 $Id$
6 */
8 #ifndef EXEC_TYPES_H
9 # include <exec/types.h>
10 #endif
12 #ifndef HIDD_HIDD_H
13 # include <hidd/hidd.h>
14 #endif
16 #ifndef OOP_OOP_H
17 # include <oop/oop.h>
18 #endif
20 #ifndef HIDD_GRAPHICS
21 # include <hidd/graphics.h>
22 #endif
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;
32 #endif
34 /* Compositor class methods */
36 enum
38 moHidd_Compositor_BitMapStackChanged = 0,
39 moHidd_Compositor_BitMapRectChanged,
40 moHidd_Compositor_BitMapPositionChanged,
41 moHidd_Compositor_ValidateBitMapPositionChange,
43 NUM_COMPOSITOR_METHODS
46 enum
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
60 OOP_MethodID mID;
61 struct HIDD_ViewPortData *data;
64 struct pHidd_Compositor_BitMapRectChanged
66 OOP_MethodID mID;
67 OOP_Object *bm;
68 WORD x;
69 WORD y;
70 WORD width;
71 WORD height;
74 struct pHidd_Compositor_BitMapPositionChanged
76 OOP_MethodID mID;
77 OOP_Object *bm;
80 struct pHidd_Compositor_ValidateBitMapPositionChange
82 OOP_MethodID mID;
83 OOP_Object *bm;
84 LONG *newxoffset;
85 LONG *newyoffset;
88 #endif /* HIDD_COMPOSITOR_H */