_screen is only valid between show/hide.
[AROS.git] / rom / intuition / buildsysrequest.c
blobbfbea7b24243c688a24ba739ab6c944dc4fe12dd
1 /*
2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include "requesters.h"
8 /*****************************************************************************
10 NAME */
11 #include <proto/intuition.h>
12 #include <exec/types.h>
13 #include <intuition/intuition.h>
15 AROS_LH7(struct Window *, BuildSysRequest,
17 /* SYNOPSIS */
18 AROS_LHA(struct Window * , window, A0),
19 AROS_LHA(struct IntuiText *, bodytext, A1),
20 AROS_LHA(struct IntuiText *, postext, A2),
21 AROS_LHA(struct IntuiText *, negtext, A3),
22 AROS_LHA(ULONG , IDCMPFlags , D0),
23 AROS_LHA(WORD , width, D2),
24 AROS_LHA(WORD , height, D3),
26 /* LOCATION */
27 struct IntuitionBase *, IntuitionBase, 60, Intuition)
29 /* FUNCTION
30 Build and display a system requester.
32 INPUTS
33 window - The window in which the requester will appear
34 bodytext - The Text to be shown in the body of the requester
35 postext - The Text to be shown in the positive choice gadget
36 negtext - The Text to be shown in the negative choice gadget
37 IDCMPFlags - The IDCMP Flags for this requester
38 width, height - The dimensions of the requester
40 RESULT
42 NOTES
44 EXAMPLE
46 BUGS
48 SEE ALSO
49 FreeSysRequest(), DisplayAlert(), ModifyIDCMP(), exec.library/Wait(),
50 Request(), AutoRequest(), EasyRequestArgs(), BuildEasyRequestArgs()
52 INTERNALS
54 *****************************************************************************/
56 AROS_LIBFUNC_INIT
58 return buildsysreq_intern(window, NULL, bodytext, postext, negtext, IDCMPFlags, width, height, IntuitionBase);
60 AROS_LIBFUNC_EXIT