2 Copyright © 1995-2007, 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 *****************************************************************************/
49 ULONG ilock
= LockIBase(0);
53 if ((screen
->ViewPort
.Modes
^ IntuitionBase
->ViewLord
.Modes
) & LACE
)
55 failure
= RemakeDisplay();
59 failure
= MakeVPort(&IntuitionBase
->ViewLord
, &screen
->ViewPort
);