Fixed missing fprintf argument.
[AROS.git] / rom / hyperlayers / islayervisible.c
blob46a2ee17ce2e45fea9928744ed6da683f00e7567
1 /*
2 Copyright © 1995-2001, 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
53 AROS_LIBBASE_EXT_DECL(struct LayersBase *,LayersBase)
55 return IS_VISIBLE(l);
57 AROS_LIBFUNC_EXIT
58 } /* ChangeLayerVisibility */