1 /* System-private methods and attributes of monitorclass */
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 */
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
;
27 struct msSetPointerPos
29 STACKED ULONG MethodID
;
34 struct msSetPointerShape
36 STACKED ULONG MethodID
;
37 STACKED
struct SharedPointer
*pointer
;
40 struct msSetScreenGamma
42 STACKED ULONG MethodID
;
43 STACKED
struct GammaControl
*gamma
;
47 struct msFindBest3dDepth
49 STACKED ULONG MethodID
;
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
);