we aren't in forbid state on the smp build..
[AROS.git] / rom / hyperlayers / islayervisible.c
blobe65e874c517a0ba0142cedd103b6cadfc8126f57
1 /*
2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc:
6 Lang: english
7 */
8 #include <proto/exec.h>
9 #include <exec/types.h>
10 #include <exec/memory.h>
11 #include <aros/libcall.h>
12 #include <proto/graphics.h>
14 #include "layers_intern.h"
15 #include "basicfuncs.h"
17 /*****************************************************************************
19 NAME */
20 #include <proto/layers.h>
21 AROS_LH1(LONG, IsLayerVisible,
23 /* SYNOPSIS */
24 AROS_LHA(struct Layer *, l , A0),
26 /* LOCATION */
27 struct LayersBase *, LayersBase, 43, Layers)
29 /* FUNCTION
30 Checks whether the layer is visible or not.
32 INPUTS
33 L - pointer to layer
35 RESULT
36 TRUE - layer is visible
37 FALSE - layer is invisible
39 NOTES
41 EXAMPLE
43 BUGS
45 SEE ALSO
47 INTERNALS
49 HISTORY
51 *****************************************************************************/
53 AROS_LIBFUNC_INIT
55 return IS_VISIBLE(l);
57 AROS_LIBFUNC_EXIT
58 } /* ChangeLayerVisibility */