r4493@vps: verhaegs | 2007-04-19 14:44:00 -0400
[AROS.git] / rom / graphics / getbpen.c
blobdf1997481e8a1afd40e5b83971e3dc6759d5e528
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$ $Log
5 Desc: Graphics function GetBPen()
6 Lang: english
7 */
8 #include "graphics_intern.h"
10 /*****************************************************************************
12 NAME */
13 #include <graphics/rastport.h>
14 #include <proto/graphics.h>
16 AROS_LH1(ULONG, GetBPen,
18 /* SYNOPSIS */
19 AROS_LHA(struct RastPort *, rp, A0),
21 /* LOCATION */
22 struct GfxBase *, GfxBase, 144, Graphics)
24 /* FUNCTION
25 Return the current value of the B pen for the rastport.
27 INPUTS
28 rp - RastPort.
30 RESULT
32 NOTES
34 EXAMPLE
36 BUGS
38 SEE ALSO
40 INTERNALS
42 HISTORY
43 29-10-95 digulla automatically created from
44 graphics_lib.fd and clib/graphics_protos.h
46 *****************************************************************************/
48 AROS_LIBFUNC_INIT
49 AROS_LIBBASE_EXT_DECL(struct GfxBase *,GfxBase)
51 return (UBYTE)rp->BgPen;
53 AROS_LIBFUNC_EXIT
54 } /* GetBPen */