2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
3 Copyright © 2001-2003, The MorphOS Development Team. All Rights Reserved.
6 Late initialization of intuition.
9 #include <proto/exec.h>
10 #include <proto/intuition.h>
11 #include <proto/graphics.h>
12 #include <proto/layers.h>
13 #include <proto/alib.h>
15 #include <exec/alerts.h>
16 #include <exec/types.h>
18 #include <aros/config.h>
19 #include <aros/libcall.h>
20 #include "intuition_intern.h"
22 /*****i***********************************************************************
25 #include <graphics/rastport.h>
26 #include <proto/graphics.h>
28 AROS_LH1(BOOL
, LateIntuiInit
,
31 AROS_LHA(APTR
, data
, A0
),
34 struct IntuitionBase
*, IntuitionBase
, 150, Intuition
)
37 This function permits late initalization
38 of intuition (After dos and after graphics hidds are setup,
39 but before starup-sequence is run.
40 Can be used to open workbench screen.
43 data - unused for now.
46 success - TRUE if initialization went, FALSE otherwise.
49 This function is private and AROS specific.
59 *****************************************************************************/
63 /* shut up the compiler */
67 GetPrivIBase(IntuitionBase
)->DefaultPointer
= MakePointerFromPrefs
69 IntuitionBase
, GetPrivIBase(IntuitionBase
)->ActivePreferences
71 GetPrivIBase(IntuitionBase
)->BusyPointer
= MakePointerFromPrefs
73 IntuitionBase
, GetPrivIBase(IntuitionBase
)->ActivePreferences
78 !GetPrivIBase(IntuitionBase
)->DefaultPointer
79 || !GetPrivIBase(IntuitionBase
)->BusyPointer
88 } /* LateIntuiInit() */