2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
5 Desc: Graphics function InitVPort()
8 #include <aros/debug.h>
9 #include "graphics_intern.h"
10 #include <graphics/view.h>
11 #include <proto/exec.h>
13 static const struct ViewPort defaultViewPort
=
26 0x24, /* SpritePriorities */
27 0, /* ExtendedModes */
31 /*****************************************************************************
34 #include <proto/graphics.h>
36 AROS_LH1(void, InitVPort
,
39 AROS_LHA(struct ViewPort
*, vp
, A0
),
42 struct GfxBase
*, GfxBase
, 34, Graphics
)
45 Initializes a ViewPort structure.
48 view - The View to initialize.
51 ViewPort is initialized to it`s default values - doesn't care about
52 previous contents of this structure.
53 All values except for SpritePriorities are set to 0's.
67 *****************************************************************************/
73 CopyMem ((UBYTE
*)&defaultViewPort
, vp
, sizeof (struct ViewPort
));