tools/adflib: build only host variant which is used by Sam440 target
[AROS.git] / rom / intuition / viewaddress.c
blob66fbac3c569ca9a4bb8826e76bcd631d10f4ed10
1 /*
2 Copyright © 1995-2013, 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>
11 /*****************************************************************************
13 NAME */
14 #include <proto/intuition.h>
16 AROS_LH0(struct View *, ViewAddress,
18 /* SYNOPSIS */
20 /* LOCATION */
21 struct IntuitionBase *, IntuitionBase, 49, Intuition)
23 /* FUNCTION
24 Returns the address of the Intuition View structure. This view
25 is needed if you want to use any of the graphics, text or animation
26 functions in your window that need the pointer to the view structure.
28 INPUTS
29 None.
31 RESULT
32 Address of the Intuition View structure
34 NOTES
36 EXAMPLE
38 BUGS
40 SEE ALSO
41 graphics.library
43 INTERNALS
45 *****************************************************************************/
47 AROS_LIBFUNC_INIT
49 return &(IntuitionBase->ViewLord);
51 AROS_LIBFUNC_EXIT
52 } /* ViewAddress */