check for the existence of /usr/include on darwin and warn about if it is missing
[AROS.git] / rom / intuition / wbenchtoback.c
blob481bdca9cc2df49dee44d9917bc0f1d51d6e9ee6
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$
5 */
7 #include "intuition_intern.h"
9 /*****************************************************************************
11 NAME */
12 #include <proto/intuition.h>
14 AROS_LH0(BOOL, WBenchToBack,
16 /* SYNOPSIS */
18 /* LOCATION */
19 struct IntuitionBase *, IntuitionBase, 56, Intuition)
21 /* FUNCTION
22 Bring the WorkBench behind all other screens.
24 INPUTS
26 RESULT
27 TRUE if the Workbench screen is open, FALSE otherwise.
29 NOTES
30 This function does not influence the position of the screen,
31 it just changes the depth-arrangement of the screens.
33 EXAMPLE
35 BUGS
37 SEE ALSO
38 ScreenToBack(), ScreenToFront(), WBenchToFront()
40 INTERNALS
42 *****************************************************************************/
44 AROS_LIBFUNC_INIT
46 struct Screen *curscreen;
48 curscreen = GetPrivIBase(IntuitionBase)->WorkBench;
50 if ( curscreen )
52 ScreenToBack ( curscreen );
53 return TRUE;
55 else
57 return FALSE;
61 AROS_LIBFUNC_EXIT
62 } /* WBenchToBack */