tools/adflib: build only host variant which is used by Sam440 target
[AROS.git] / rom / graphics / getbpen.c
blobf442d30fa64c9ff7f604f428a4c1d96a598b7404
1 /*
2 Copyright © 1995-2007, 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
50 return (UBYTE)rp->BgPen;
52 AROS_LIBFUNC_EXIT
53 } /* GetBPen */