2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
5 Desc: Implementation of MoveLayer()
8 #include <aros/libcall.h>
9 #include <proto/layers.h>
10 #include <proto/exec.h>
11 #include <proto/graphics.h>
12 #include <exec/memory.h>
13 #include <graphics/rastport.h>
14 #include <graphics/clip.h>
15 #include "layers_intern.h"
17 /*****************************************************************************
21 AROS_LH4(LONG
, MoveLayer
,
24 AROS_LHA(LONG
, dummy
, A0
),
25 AROS_LHA(struct Layer
*, l
, A1
),
26 AROS_LHA(LONG
, dx
, D0
),
27 AROS_LHA(LONG
, dy
, D1
),
30 struct LayersBase
*, LayersBase
, 10, Layers
)
33 Move the layer to a specified position in the bitmap.
34 Parts of simple layers that become visible are added to
35 the damage list and a refresh is triggered.
39 l - pointer to layer to be moved
40 dx - delta to add to current x position
41 dy - delta to add to current y position
44 result - TRUE everyting went alright
45 FALSE an error occurred (out of memory)
58 27-11-96 digulla automatically created from
59 layers_lib.fd and clib/layers_protos.h
61 *****************************************************************************/
65 return MoveSizeLayer(l
,dx
,dy
,0,0);