- Wait for mouse acks properly.
[cake.git] / rom / hyperlayers / islayervisible.c
blob5d9327214e9defa0ef6b9d2dba0c1813c8fb55f2
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 "layers_intern.h"
12 #include <aros/libcall.h>
13 #include <proto/graphics.h>
14 #include "basicfuncs.h"
16 /*****************************************************************************
18 NAME */
19 #include <proto/layers.h>
20 AROS_LH1(LONG, IsLayerVisible,
22 /* SYNOPSIS */
23 AROS_LHA(struct Layer *, l , A0),
25 /* LOCATION */
26 struct LayersBase *, LayersBase, 40, Layers)
28 /* FUNCTION
29 Checks whether the layer is visible or not.
31 INPUTS
32 L - pointer to layer
34 RESULT
35 TRUE - layer is visible
36 FALSE - layer is invisible
38 NOTES
40 EXAMPLE
42 BUGS
44 SEE ALSO
46 INTERNALS
48 HISTORY
50 *****************************************************************************/
52 AROS_LIBFUNC_INIT
54 return IS_VISIBLE(l);
56 AROS_LIBFUNC_EXIT
57 } /* ChangeLayerVisibility */