Add it build Czech catalog (WBRename)
[AROS.git] / rom / intuition / setmousequeue.c
blob680a50baceae7d7e80f2ba1aa8d21576a9b29092
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 "intuition_intern.h"
9 /*****************************************************************************
11 NAME */
12 #include <proto/intuition.h>
14 AROS_LH2(LONG, SetMouseQueue,
16 /* SYNOPSIS */
17 AROS_LHA(struct Window *, window, A0),
18 AROS_LHA(UWORD , queuelength, D0),
20 /* LOCATION */
21 struct IntuitionBase *, IntuitionBase, 83, Intuition)
23 /* FUNCTION
24 Change the number of mouse messages for your window to be allowed
25 to be outstanding.
27 INPUTS
28 window - the window
29 queuelength - the number of mouse messages to be allowed to be
30 outstanding
32 RESULT
33 Returns -1 if the window is unknown otherwise the old value of the
34 queuelength is returned.
36 NOTES
37 There should be a function for changing the repeat key queue limit
38 too.
40 EXAMPLE
42 BUGS
44 SEE ALSO
45 OpenWindow()
47 INTERNALS
49 *****************************************************************************/
51 AROS_LIBFUNC_INIT
53 LONG result;
55 IntuitionBase = IntuitionBase; /* shut up the compiler */
57 SANITY_CHECKR(window,-1)
59 result = ((struct IntWindow *)window)->mousequeue;
60 ((struct IntWindow *)window)->mousequeue = queuelength;
62 return result;
64 AROS_LIBFUNC_EXIT
65 } /* SetMouseQueue */