2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
5 Desc: Graphics function InitView()
8 #include <aros/debug.h>
9 #include "graphics_intern.h"
10 #include <graphics/view.h>
11 #include <proto/exec.h>
13 static const struct View defaultView
=
16 NULL
, /* LOFCprList */
17 NULL
, /* SHFCprList */
23 /*****************************************************************************
26 #include <proto/graphics.h>
28 AROS_LH1(void, InitView
,
31 AROS_LHA(struct View
*, view
, A1
),
34 struct GfxBase
*, GfxBase
, 60, Graphics
)
37 Initializes a View structure.
40 view - The View to initialize.
43 View is initialized to it`s default values - doesn't care about
44 previous contents of this structure.
45 All values except for DxOffset,DyOffset are set to 0's.
59 *****************************************************************************/
63 ASSERT_VALID_PTR(view
);
65 CopyMem ((UBYTE
*)&defaultView
, view
, sizeof (struct View
));