Minor fixes to comments.
[AROS.git] / rom / intuition / timeddisplayalert.c
bloba2164f818ea871a703b32440bd972f87b45868f4
1 /*
2 Copyright © 1995-2010, The AROS Development Team. All rights reserved.
3 Copyright © 2001-2003, The MorphOS Development Team. All Rights Reserved.
4 $Id$
5 */
7 #include "intuition_intern.h"
9 /*****************************************************************************
11 NAME */
12 #include <proto/intuition.h>
14 AROS_LH4(BOOL, TimedDisplayAlert,
16 /* SYNOPSIS */
17 AROS_LHA(ULONG , alertnumber, D0),
18 AROS_LHA(UBYTE *, string , A0),
19 AROS_LHA(UWORD , height , D1),
20 AROS_LHA(ULONG , time , A1),
22 /* LOCATION */
23 struct IntuitionBase *, IntuitionBase, 137, Intuition)
25 /* FUNCTION
26 Display an alert with automatic time-out.
28 See DisplayAlert() documentation
30 INPUTS
31 alertnumber - Alert code
32 string - Text data to display
33 height - Total height of alert display in pixels
34 time - Timeout measured in display frame refresh periods.
36 RESULT
37 TRUE or FALSE depending on user's reaction. FALSE in case of timeout.
39 NOTES
40 See DisplayAlert() documentation for detailed description of
41 parameters.
43 EXAMPLE
45 BUGS
46 In AROS timeout is currently not implemented. Note that this
47 function is obsolete and strongly deprecated for use in software.
48 It is present only for backwards compatibility with AmigaOS(tm).
50 SEE ALSO
51 DisplayAlert()
53 INTERNALS
55 HISTORY
57 *****************************************************************************/
59 AROS_LIBFUNC_INIT
61 return DisplayAlert(alertnumber, string, height);
63 AROS_LIBFUNC_EXIT
64 } /* TimedDisplayAlert */