2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
3 Copyright © 2001-2003, The MorphOS Development Team. All Rights Reserved.
7 #include "intuition_intern.h"
9 /*****************************************************************************
12 #include <intuition/intuition.h>
13 #include <proto/intuition.h>
15 AROS_LH8(BOOL
, AutoRequest
,
18 AROS_LHA(struct Window
*, window
, A0
),
19 AROS_LHA(struct IntuiText
*, body
, A1
),
20 AROS_LHA(struct IntuiText
*, posText
, A2
),
21 AROS_LHA(struct IntuiText
*, negText
, A3
),
22 AROS_LHA(ULONG
, pFlag
, D0
),
23 AROS_LHA(ULONG
, nFlag
, D1
),
24 AROS_LHA(ULONG
, width
, D2
),
25 AROS_LHA(ULONG
, height
, D3
),
28 struct IntuitionBase
*, IntuitionBase
, 58, Intuition
)
46 *****************************************************************************/
54 EXTENDWORD(width
);EXTENDWORD(height
);
56 req
= BuildSysRequest(window
,
64 /* req = 0/1 is handled by SysReqHandler */
65 while ((result
= SysReqHandler(req
, &idcmp
, TRUE
)) == -2)
72 result
= (idcmp
& pFlag
) ? 1 : 0;