define __KERNEL_STRICT_NAMES to avoid inclusion of kernel types on systems that carry...
[cake.git] / rom / intuition / viewaddress.c
blob07dd4b25bec1177123892b55ecc0db7e7a106c9e
1 /*
2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
3 Copyright © 2001-2003, The MorphOS Development Team. All Rights Reserved.
4 $Id$
5 */
7 #include <graphics/view.h>
8 #include <intuition/intuitionbase.h>
9 #include <aros/libcall.h>
10 /*****************************************************************************
12 NAME */
13 #include <proto/intuition.h>
15 AROS_LH0(struct View *, ViewAddress,
17 /* SYNOPSIS */
19 /* LOCATION */
20 struct IntuitionBase *, IntuitionBase, 49, Intuition)
22 /* FUNCTION
23 Returns the address of the Intuition View structure. This view
24 is needed if you want to use any of the graphics, text or animation
25 functions in your window that need the pointer to the view structure.
27 INPUTS
28 None
30 RESULT
31 Address of the Intuition View structure
33 NOTES
35 EXAMPLE
37 BUGS
39 SEE ALSO
40 graphics.library
42 INTERNALS
44 HISTORY
46 *****************************************************************************/
48 AROS_LIBFUNC_INIT
50 return &(IntuitionBase->ViewLord);
52 AROS_LIBFUNC_EXIT
53 } /* ViewAddress */