2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
5 Desc: Private graphics function for initializing graphics.hidd
8 #include "graphics_intern.h"
9 #include <exec/memory.h>
10 #include <graphics/rastport.h>
11 #include <proto/exec.h>
14 /*****************************************************************************
17 #include <graphics/rastport.h>
18 #include <proto/graphics.h>
20 AROS_LH1(BOOL
, LateGfxInit
,
23 AROS_LHA(APTR
, data
, A0
),
26 struct GfxBase
*, GfxBase
, 181, Graphics
)
29 This function permits late initialization
30 of Graphics (After DOS but *before* Graphics is used, i.e.
31 before the first view/screen has been set up).
32 Can be used to load Graphics HIDDs from disk and initializing it.
33 The function only passes the data through to the
37 data - Data passed on to graphics driver.
40 success - If TRUE initialization went OK.
43 This function is private and AROS specific.
54 29-10-95 digulla automatically created from
55 graphics_lib.fd and clib/graphics_protos.h
57 *****************************************************************************/
61 GfxBase
->gb_LayersBase
= (ULONG
*)OpenLibrary("layers.library", 0);
63 /* We don't have a clue what 'data' parameter contains, but
64 the graphics driver does.
67 return GfxBase
->gb_LayersBase
&& driver_LateGfxInit(data
, GfxBase
);