synch mmakefile behaviour
[AROS.git] / rom / intuition / setdefaultscreenfont.c
blob4795efcc59cb4a24a1607079b1a6ac188cfc7cca
1 /*
2 Copyright © 1995-2013, 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
29 None.
31 NOTES
32 This function is actually private and intended only for use
33 by IPrefs program.
34 This private function is also present in MorphOS v50.
36 EXAMPLE
38 BUGS
40 SEE ALSO
42 INTERNALS
44 *****************************************************************************/
46 AROS_LIBFUNC_INIT
48 if (textfont)
50 ASSERT_VALID_PTR(textfont);
52 Forbid();
53 GetPrivIBase(IntuitionBase)->ScreenFont = textfont;
54 Permit();
57 AROS_LIBFUNC_EXIT
59 } /* SetDefaultScreenFont */