2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
3 Copyright © 2001-2003, The MorphOS Development Team. All Rights Reserved.
7 #include "intuition_intern.h"
9 /*****************************************************************************
12 #include <proto/intuition.h>
14 AROS_LH3(void, MoveScreen
,
17 AROS_LHA(struct Screen
*, screen
, A0
),
18 AROS_LHA(LONG
, dx
, D0
),
19 AROS_LHA(LONG
, dy
, D1
),
22 struct IntuitionBase
*, IntuitionBase
, 27, Intuition
)
25 Move a screen by the specified amount in X/Y direction. The
26 resolution is always the screen resolution.
29 screen - Move this screen
30 dx - Move it by this amount along the X axis (> 0 to the right,
32 dy - Move it by this amount along the Y axis (> 0 down, < 0 up)
38 Depending on other restrictions, the screen may not move as far
39 as specified. It will move as far as possible and you can check
40 LeftEdge and TopEdge of the screen to see how far it got.
51 *****************************************************************************/
55 ScreenPosition(screen
, SPOS_RELATIVE
, dx
, dy
, 0, 0);