2 Copyright © 2002-2006, The AROS Development Team.
8 #include <proto/exec.h>
9 #include <proto/graphics.h>
11 #include <clib/alib_protos.h>
13 #include "muimaster_intern.h"
16 #include <aros/symbolsets.h>
18 #include LC_LIBDEFS_FILE
20 struct Library
*MUIMasterBase
;
22 static struct TextAttr topaz8Attr
=
23 { "topaz.font", 8, FS_NORMAL
, FPF_ROMFONT
, };
25 /****************************************************************************************/
27 static int MUIMasterInit(LIBBASETYPEPTR lh
)
29 MUIMasterBase
= (struct Library
*)lh
;
31 InitSemaphore(&MUIMB(lh
)->ZuneSemaphore
);
33 NewList((struct List
*)&MUIMB(lh
)->BuiltinClasses
);
34 NewList((struct List
*)&MUIMB(lh
)->Applications
);
36 ((struct MUIMasterBase_intern
*)MUIMasterBase
)->topaz8font
= OpenFont(&topaz8Attr
);
41 static int MUIMasterExpunge(LIBBASETYPEPTR lh
)
43 MUIMasterBase
= (struct Library
*)lh
;
45 CloseFont(((struct MUIMasterBase_intern
*)MUIMasterBase
)->topaz8font
);
50 ADD2INITLIB(MUIMasterInit
, 0);
51 ADD2EXPUNGELIB(MUIMasterExpunge
, 0);
53 /****************************************************************************************/