- Implemented MUIM_List_Select and MUIM_List_NextSelected.
[AROS.git] / rom / intuition / sizewindow.c
blob0aefaf9d790695df446a9409be851b7a2d636d40
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 "intuition_intern.h"
9 /*****************************************************************************
11 NAME */
12 #include <proto/intuition.h>
14 AROS_LH3(void, SizeWindow,
16 /* SYNOPSIS */
17 AROS_LHA(struct Window *, window, A0),
18 AROS_LHA(LONG , dx, D0),
19 AROS_LHA(LONG , dy, D1),
21 /* LOCATION */
22 struct IntuitionBase *, IntuitionBase, 48, Intuition)
24 /* FUNCTION
25 Modify the size of a window by the specified offsets.
27 INPUTS
28 window - The window to resize.
29 dx - Add this to the width.
30 dy - Add this to the height.
32 RESULT
33 None.
35 NOTES
36 The resize of the window may be delayed. If you depend on the
37 information that is has changed size, wait for IDCMP_NEWSIZE.
39 EXAMPLE
41 BUGS
43 SEE ALSO
45 INTERNALS
47 HISTORY
48 29-10-95 digulla automatically created from
49 intuition_lib.fd and clib/intuition_protos.h
51 *****************************************************************************/
53 AROS_LIBFUNC_INIT
55 SANITY_CHECK(window)
57 EXTENDWORD(dx);
58 EXTENDWORD(dy);
60 ChangeWindowBox(window, window->LeftEdge, window->TopEdge,
61 window->Width + dx, window->Height + dy);
63 AROS_LIBFUNC_EXIT
65 } /* SizeWindow */