Exec locks provides means to protect exec's lists from beeing accessed. The lock...
[AROS.git] / rom / hyperlayers / createbehindlayer.c
blobacb50602ab106956205006ed7c1ae249d81fd32f
1 /*
2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc:
6 Lang: english
7 */
8 #include <aros/libcall.h>
9 #include <proto/layers.h>
10 #include "layers_intern.h"
12 #define DEBUG 0
13 #include <aros/debug.h>
14 #undef kprintf
16 /*****************************************************************************
18 NAME */
20 AROS_LH8(struct Layer *, CreateBehindLayer,
22 /* SYNOPSIS */
23 AROS_LHA(struct Layer_Info *, li, A0),
24 AROS_LHA(struct BitMap *, bm, A1),
25 AROS_LHA(LONG , x0, D0),
26 AROS_LHA(LONG , y0, D1),
27 AROS_LHA(LONG , x1, D2),
28 AROS_LHA(LONG , y1, D3),
29 AROS_LHA(LONG , flags, D4),
30 AROS_LHA(struct BitMap *, bm2, A2),
32 /* LOCATION */
33 struct LayersBase *, LayersBase, 7, Layers)
35 /* FUNCTION
37 INPUTS
39 RESULT
41 NOTES
43 EXAMPLE
45 BUGS
47 SEE ALSO
49 INTERNALS
51 HISTORY
52 27-11-96 digulla automatically created from
53 layers_lib.fd and clib/layers_protos.h
55 *****************************************************************************/
57 AROS_LIBFUNC_INIT
59 D(bug("CreateBehindLayer(li@$lx, bm@$lx, x0 %ld, y0 %ld, x1 %ld, y1 %ld, flags %ld, bm2@$lx)\n",
60 li, bm, x0, y0, x1, y1, flags, bm2));
62 return CreateBehindHookLayer(li, bm, x0, y0, x1, y1, flags, NULL, bm2);
64 AROS_LIBFUNC_EXIT
65 } /* CreateBehindLayer */