Minor fixes to comments.
[AROS.git] / rom / graphics / getapen.c
blobb5aaed50087fbaae9e311824de5db7e79aa25276
1 /*
2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
3 $Id$ $Log
5 Desc: Graphics function GetAPen()
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, GetAPen,
18 /* SYNOPSIS */
19 AROS_LHA(struct RastPort *, rp, A0),
21 /* LOCATION */
22 struct GfxBase *, GfxBase, 143, Graphics)
24 /* FUNCTION
25 Return the current value of the A 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->FgPen;
52 AROS_LIBFUNC_EXIT
53 } /* GetAPen */