grub2: bring back build of aros-side grub2 tools
[AROS.git] / rom / hyperlayers / createupfrontlayer.c
blob00cf0da1adaddf410721e5570a66c15f5af9b90b
1 /*
2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc:
6 Lang: english
7 */
8 #include <exec/types.h>
9 #include <aros/libcall.h>
10 #include <graphics/gfx.h>
11 #include <graphics/clip.h>
12 #include <graphics/layers.h>
13 #include <utility/hooks.h>
14 #include <proto/layers.h>
15 #include "layers_intern.h"
17 #define DEBUG 0
18 #include <aros/debug.h>
19 #undef kprintf
21 /*****************************************************************************
23 NAME */
25 AROS_LH8(struct Layer *, CreateUpfrontLayer,
27 /* SYNOPSIS */
28 AROS_LHA(struct Layer_Info *, li, A0),
29 AROS_LHA(struct BitMap *, bm, A1),
30 AROS_LHA(LONG , x0, D0),
31 AROS_LHA(LONG , y0, D1),
32 AROS_LHA(LONG , x1, D2),
33 AROS_LHA(LONG , y1, D3),
34 AROS_LHA(LONG , flags, D4),
35 AROS_LHA(struct BitMap *, bm2, A2),
37 /* LOCATION */
38 struct LayersBase *, LayersBase, 6, Layers)
40 /* FUNCTION
42 INPUTS
44 RESULT
46 NOTES
48 EXAMPLE
50 BUGS
52 SEE ALSO
54 INTERNALS
56 HISTORY
57 27-11-96 digulla automatically created from
58 layers_lib.fd and clib/layers_protos.h
60 *****************************************************************************/
62 AROS_LIBFUNC_INIT
64 D(bug("CreateUpfrontLayer(li@$lx, bm@$lx, x0 %ld, y0 %ld, x1 %ld, y1 %ld, flags %ld, bm2@$lx)\n",
65 li, bm, x0, y0, x1, y1, flags, bm2));
67 return CreateUpfrontHookLayer(li, bm, x0, y0, x1, y1, flags, NULL, bm2);
69 AROS_LIBFUNC_EXIT
70 } /* CreateUpfrontLayer */