New bitmap method SetRGBConversionFunction which can be used to
[tangerine.git] / rom / intuition / setdefaultscreenfont.c
bloba50585538d49245fd59c358e2324ba5167637fdb
1 /*
2 Copyright © 1995-2003, 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 /*****************************************************************************
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
46 AROS_LIBBASE_EXT_DECL(struct IntuitionBase *,IntuitionBase)
48 if (textfont)
50 ASSERT_VALID_PTR(textfont);
52 Forbid();
53 GetPrivIBase(IntuitionBase)->ScreenFont = textfont;
54 Permit();
57 AROS_LIBFUNC_EXIT
59 } /* SetDefaultScreenFont */