grub2: bring back build of aros-side grub2 tools
[AROS.git] / rom / graphics / setoutlinepen.c
blobc92d8812103170af154841e8cced0a079c51b68c
1 /*
2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Graphics function SetOutlinePen()
6 Lang: english
7 */
8 #include "graphics_intern.h"
9 #include <graphics/rastport.h>
11 /*****************************************************************************
13 NAME */
14 #include <graphics/rastport.h>
15 #include <proto/graphics.h>
17 AROS_LH2(ULONG, SetOutlinePen,
19 /* SYNOPSIS */
20 AROS_LHA(struct RastPort *, rp, A0),
21 AROS_LHA(ULONG, pen, D0),
23 /* LOCATION */
24 struct GfxBase *, GfxBase, 163, Graphics)
26 /* FUNCTION
27 Set the outline pen and turn on area outline mode.
29 INPUTS
30 rp - RastPort
31 pen - pen
33 RESULT
34 Previous outline pen.
36 NOTES
38 EXAMPLE
40 BUGS
42 SEE ALSO
44 INTERNALS
46 HISTORY
47 29-10-95 digulla automatically created from
48 graphics_lib.fd and clib/graphics_protos.h
50 *****************************************************************************/
52 AROS_LIBFUNC_INIT
54 ULONG oldPen;
56 oldPen = rp->AOlPen;
58 rp->AOlPen = pen;
59 rp->Flags |= AREAOUTLINE;
61 return oldPen;
63 AROS_LIBFUNC_EXIT
65 } /* SetOutlinePen */