Add a wishful comment
[AROS.git] / rom / intuition / screentofront.c
blob4e9e016707c45996e879bd9e16bac5684d8a07cf
1 /*
2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
3 Copyright © 2001-2003, The MorphOS Development Team. All Rights Reserved.
4 $Id$
6 Move a screen in front of all other screens.
7 */
9 #include "intuition_intern.h"
11 /*****************************************************************************
13 NAME */
14 #include <proto/intuition.h>
16 AROS_LH1(void, ScreenToFront,
18 /* SYNOPSIS */
19 AROS_LHA(struct Screen *, screen, A0),
21 /* LOCATION */
22 struct IntuitionBase *, IntuitionBase, 42, Intuition)
24 /* FUNCTION
25 Move a screen in front of all other screens. If the screen is in a
26 group, the screen will be moved in front of all other screens in the
27 group only. If the screen is the parent of a group, the whole
28 group will be moved in the front.
30 INPUTS
31 screen - Move this screen.
33 RESULT
34 You will see the screen move in front of all other screens.
36 NOTES
38 EXAMPLE
40 BUGS
42 SEE ALSO
43 ScreenToBack(), ScreenDepth()
45 INTERNALS
47 *****************************************************************************/
49 AROS_LIBFUNC_INIT
51 ScreenDepth ( screen, SDEPTH_TOFRONT, NULL );
53 AROS_LIBFUNC_EXIT
54 } /* ScreenToFront */