Don't call ReadArgs() if started from WB.
[tangerine.git] / compiler / alib / createlayertags.c
blobd548b30ee7d792161244aa55de2da1a68f085924
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Create a layer
6 Lang: english
7 */
9 #define AROS_TAGRETURNTYPE struct Layer *
10 #include <graphics/clip.h>
11 #include <exec/libraries.h>
12 #include "alib_intern.h"
14 extern struct Library * LayersBase;
16 /*****************************************************************************
18 NAME */
19 #include <graphics/layers.h>
20 #define NO_INLINE_STDARG /* turn off inline def */
21 #include <proto/layers.h>
23 struct Layer * CreateLayerTags (
25 /* SYNOPSIS */
26 struct Layer_Info * li,
27 struct BitMap * bm,
28 LONG x0,
29 LONG y0,
30 LONG x1,
31 LONG y1,
32 LONG flags,
33 Tag tag1,
34 ...)
36 /* FUNCTION
38 INPUTS
40 RESULT
42 NOTES
44 EXAMPLE
46 BUGS
48 SEE ALSO
50 INTERNALS
52 HISTORY
54 *****************************************************************************/
56 AROS_SLOWSTACKTAGS_PRE(tag1)
57 retval = CreateLayerTagList(li,bm,x0,y0,x1,y1,flags,AROS_SLOWSTACKTAGS_ARG(tag1));
58 AROS_SLOWSTACKTAGS_POST
59 } /* CreateLayerTags */