release the pen in MUIM_Hide
[AROS.git] / compiler / alib / layoutmenuitems.c
blob130559bb1b5e5d8d38be18c5d046ccfad5de6df4
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Layout a gadtools menu item
6 Lang: english
7 */
9 #include <exec/types.h>
10 #define AROS_TAGRETURNTYPE BOOL
12 #include "alib_intern.h"
14 extern struct Library * GadToolsBase;
16 /*****************************************************************************
18 NAME */
19 #include <intuition/intuition.h>
20 #include <utility/tagitem.h>
21 #include <libraries/gadtools.h>
22 #define NO_INLINE_STDARG /* turn off inline def */
23 #include <proto/gadtools.h>
25 BOOL LayoutMenuItems (
27 /* SYNOPSIS */
28 struct MenuItem * menuitem,
29 APTR vi,
30 Tag tag1,
31 ... )
33 /* FUNCTION
34 Varargs version of gadtools.library/LayoutMenuItemsA().
36 INPUTS
38 RESULT
40 NOTES
42 EXAMPLE
44 BUGS
46 SEE ALSO
47 gadtools.library/LayoutMenuItemsA()
49 INTERNALS
51 HISTORY
53 *****************************************************************************/
55 AROS_SLOWSTACKTAGS_PRE(tag1)
56 retval = LayoutMenuItemsA (menuitem, vi, AROS_SLOWSTACKTAGS_ARG(tag1));
57 AROS_SLOWSTACKTAGS_POST
58 } /* LayoutMenuItems */