2 Copyright © 1995-2013, 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_LH0(LONG
, RemakeDisplay
,
20 struct IntuitionBase
*, IntuitionBase
, 64, Intuition
)
23 Remake the entire Intuition display.
29 Zero for success, non-zero for failure.
38 RethinkDisplay(), MakeScreen(), graphics.library/MakeVPort(),
39 graphics.library/MrgCop(), graphics.library/LoadView()
43 *****************************************************************************/
47 struct GfxBase
*GfxBase
= GetPrivIBase(IntuitionBase
)->GfxBase
;
48 struct Screen
*screen
;
49 ULONG ilock
= LockIBase(0);
52 for (screen
= IntuitionBase
->FirstScreen
; screen
; screen
= screen
->NextScreen
)
54 LONG error
= MakeVPort(&IntuitionBase
->ViewLord
, &screen
->ViewPort
);
61 failure
= RethinkDisplay();