revert between 56095 -> 55830 in arch
[AROS.git] / rom / intuition / monitorclass_private.h
blob588785990f1c2a960ff55cc85553384831a8800c
1 /* System-private methods and attributes of monitorclass */
3 /* Attributes */
5 #define MA_AROS_PRIVATE (TAG_USER + 0x00020000)
7 #define MA_MonitorHandle (MA_AROS_PRIVATE + 1) /* [I..] struct MonitorHandle * graphics.library monitor handle */
8 #define MA_PointerVisible (MA_AROS_PRIVATE + 2) /* [.S.] BOOL Mouse pointer is visible */
9 #define MA_MonitorID (MA_AROS_PRIVATE + 3) /* [.G.] ULONG Monitor ID */
11 /* Methods */
13 #define MM_GetCompositionFlags 0x2401 /* Ask display composition flags */
14 #define MM_SetPointerPos 0x2402 /* Set mouse pointer position */
15 #define MM_CheckID 0x2403 /* Check if the given mode ID matches this monitor */
16 #define MM_SetPointerShape 0x2404 /* Set mouse pointer shape */
17 #define MM_SetScreenGamma 0x2405 /* Set screen-specific gamma correction table */
18 #define MM_FindBest3dDepth 0x2406 /* Find best depth with 3D support */
19 #define MM_Calc3dCapability 0x2407 /* Calculate 3D capability index */
21 struct msGetCompositionFlags
23 STACKED ULONG MethodID;
24 STACKED ULONG ModeID;
27 struct msSetPointerPos
29 STACKED ULONG MethodID;
30 STACKED ULONG x;
31 STACKED ULONG y;
34 struct msSetPointerShape
36 STACKED ULONG MethodID;
37 STACKED struct SharedPointer *pointer;
40 struct msSetScreenGamma
42 STACKED ULONG MethodID;
43 STACKED struct GammaControl *gamma;
44 STACKED ULONG force;
47 struct msFindBest3dDepth
49 STACKED ULONG MethodID;
50 STACKED ULONG depth;
53 static inline ULONG FindBest3dDepth(ULONG depth, void *obj, struct IntuitionBase *IntuitionBase)
55 return DoMethod(obj, MM_FindBest3dDepth, depth);
58 Object *DisplayDriverNotify(APTR obj, BOOL add, struct IntuitionBase *IntuitionBase);