Minor fixes to comments.
[AROS.git] / rom / graphics / setbpen.c
blob587774f0dc10241e223d62b3c4b337b434b2132c
1 /*
2 Copyright © 1995-2011, The AROS Development Team. All rights reserved.
3 $Id$ $Log
5 Desc: Graphics function SetBPen()
6 Lang: english
7 */
9 #include "graphics_intern.h"
10 #include "gfxfuncsupport.h"
12 /*****************************************************************************
14 NAME */
15 #include <graphics/rastport.h>
16 #include <proto/graphics.h>
18 AROS_LH2I(void, SetBPen,
20 /* SYNOPSIS */
21 AROS_LHA(struct RastPort *, rp, A1),
22 AROS_LHA(ULONG , pen, D0),
24 /* LOCATION */
25 struct GfxBase *, GfxBase, 58, Graphics)
27 /* FUNCTION
28 Set secondary pen for rastport.
30 INPUTS
31 rp - RastPort
32 pen - pen number (0...255)
34 RESULT
36 NOTES
37 This functions turns on PenMode for the RastPort.
39 EXAMPLE
41 BUGS
43 SEE ALSO
45 INTERNALS
47 HISTORY
48 29-10-95 digulla automatically created from
49 graphics_lib.fd and clib/graphics_protos.h
51 *****************************************************************************/
53 AROS_LIBFUNC_INIT
55 rp->BgPen = pen;
56 rp->linpatcnt = 15;
57 rp->Flags &= ~RPF_NO_PENS;
59 AROS_LIBFUNC_EXIT
60 } /* SetBPen */