grub2: bring back build of aros-side grub2 tools
[AROS.git] / workbench / libs / cgxvideo / GetVLayerAttr.c
blob73858789b3b52a843da19fd0a232d1aadc6aa66e
1 /*
2 Copyright © 1995-2010, The AROS Development Team. All rights reserved.
3 $Id$
4 */
5 #include <aros/debug.h>
7 #include "cgxvideo_intern.h"
9 /*****************************************************************************
11 NAME */
12 #include <clib/cgxvideo_protos.h>
14 AROS_LH2(ULONG, GetVLayerAttr,
16 /* SYNOPSIS */
17 AROS_LHA(struct VLayerHandle *, VLayerHandle, A0),
18 AROS_LHA(ULONG, AttrNum, D0),
20 /* LOCATION */
21 struct Library *, CGXVideoBase, 9, Cgxvideo)
23 /* FUNCTION
24 Gets a certain attribute from a given video layer. You have to call
25 LockVLayer() to make sure that the result is valid !
27 INPUTS
28 VLayerHandle - pointer to a previously created videolayer handle
30 AttrNum - attribute that you want to get
32 RESULT
33 value - the value for the given attribute
35 NOTES
36 Attributes available are:
38 VOA_BaseAddress - if this attribute is specified the base address for
39 the source data is returned
41 VOA_ColorKeyPen - returns the pen number used for color keying. If color
42 keying is not enabled, -1 is returned
44 VOA_ColorKey - returns the 24 bit color value used for color keying.
45 If color keying is not enabled, -1 is returned.
47 EXAMPLE
49 BUGS
50 This function is unimplemented.
52 SEE ALSO
53 SetVLayerAttrTagList()
55 INTERNALS
57 HISTORY
59 *****************************************************************************/
61 AROS_LIBFUNC_INIT
63 aros_print_not_implemented ("GetVLayerAttr");
64 return 0;
66 AROS_LIBFUNC_EXIT
67 } /* GetVLayerAttr */