Updates to includes for scsi & usbhardware.
[cake.git] / rom / graphics / asksoftstyle.c
blob8a5cea4b56103d42681e83937469e2a951352bb6
1 /*
2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Graphics function AskSoftStyle()
6 Lang: English
7 */
9 /*****************************************************************************
11 NAME */
12 #include <graphics/rastport.h>
13 #include <proto/graphics.h>
15 AROS_LH1I(ULONG, AskSoftStyle,
17 /* SYNOPSIS */
18 AROS_LHA(struct RastPort *, rp, A1),
20 /* LOCATION */
21 struct GfxBase *, GfxBase, 14, Graphics)
23 /* FUNCTION
25 Query algorithmically generated style attributes. These are the bits
26 valid to set via SetSoftStyle().
28 INPUTS
30 pr -- pointer to rastport
32 RESULT
34 Algorithmically generated style bits (bits not defined are also set).
36 NOTES
38 EXAMPLE
40 BUGS
42 SEE ALSO
44 SetSoftStyle(), graphics/text.h
46 INTERNALS
48 HISTORY
50 24.7.98 SDuvan implemented
52 *****************************************************************************/
56 AROS_LIBFUNC_INIT
58 if(rp->Font == NULL)
59 return 0;
61 return ~rp->Font->tf_Style;
63 AROS_LIBFUNC_EXIT
64 } /* AskSoftStyle */