2 Copyright © 1995-2003, The AROS Development Team. All rights reserved.
3 Copyright © 2001-2003, The MorphOS Development Team. All Rights Reserved.
7 #include <proto/graphics.h>
8 #include "intuition_intern.h"
10 /*****************************************************************************
13 #include <proto/intuition.h>
15 AROS_LH1(LONG
, MakeScreen
,
18 AROS_LHA(struct Screen
*, screen
, A0
),
21 struct IntuitionBase
*, IntuitionBase
, 63, Intuition
)
26 Pointer to your custom screen.
29 Zero for success, non-zero for failure.
38 RemakeDisplay(), RethinkDisplay(), graphics.library/MakeVPort(),
44 *****************************************************************************/
47 AROS_LIBBASE_EXT_DECL(struct IntuitionBase
*,IntuitionBase
)
50 ULONG ilock
= LockIBase(0);
54 if ((screen
->ViewPort
.Modes
^ IntuitionBase
->ViewLord
.Modes
) & LACE
)
56 failure
= RemakeDisplay();
60 failure
= MakeVPort(&IntuitionBase
->ViewLord
, &screen
->ViewPort
);