corrections/consistency
[AROS.git] / workbench / devs / monitors / IntelGMA / compositing.h
blob01450072eed7809aafdf505d0911721fcbbe410c
1 #ifndef HIDD_COMPOSITING_H
2 #define HIDD_COMPOSITING_H
3 /*
4 Copyright © 2010, 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/gfx.h>
22 #endif
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;
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_COMPOSITING_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_COMPOSITING_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_COMPOSITING_H */