Minor fixes to comments.
[AROS.git] / rom / intuition / setdefaultscreenfont.c
blob98c7bbe06ff3332f296b580babeb1a98792df9f7
1 /*
2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
3 Copyright © 2001-2003, The MorphOS Development Team. All Rights Reserved.
4 $Id$
5 */
7 #include "intuition_intern.h"
9 /*****i***********************************************************************
11 NAME */
12 #include <proto/intuition.h>
14 AROS_LH1(void, SetDefaultScreenFont,
16 /* SYNOPSIS */
17 AROS_LHA(struct TextFont *, textfont, A0),
19 /* LOCATION */
20 struct IntuitionBase *, IntuitionBase, 144, Intuition)
22 /* FUNCTION
23 Set the default Font.
25 INPUTS
26 textfont - The Font to be used.
28 RESULT
30 NOTES
31 PRIVATE(!!!!) Do not use
33 EXAMPLE
35 BUGS
37 SEE ALSO
39 INTERNALS
41 HISTORY
43 *****************************************************************************/
45 AROS_LIBFUNC_INIT
47 if (textfont)
49 ASSERT_VALID_PTR(textfont);
51 Forbid();
52 GetPrivIBase(IntuitionBase)->ScreenFont = textfont;
53 Permit();
56 AROS_LIBFUNC_EXIT
58 } /* SetDefaultScreenFont */