(C) 1998 AROS - The Amiga Research OS


NAME

LONG MoveLayer (dummy , l , dx , dy )

LOCATION
In LayersBase at offset 10

SYNOPSIS
LONG dummy
struct Layer * l
LONG dx
LONG dy

FUNCTION
Move the layer to a specified position in the bitmap. Parts of simple layers that become visible are added to the damage list and a refresh is triggered.

INPUTS
dummy
unused
l
pointer to layer to be moved
dx
delta to add to current x position
dy
delta to add to current y position

RESULT
result - TRUE everyting went alright FALSE an error occurred (out of memory)

EXAMPLE

SEE ALSO

NOTES

BUGS

INTERNALS

HISTORY
20.07.1999 digulla
Typo
20.07.1999 digulla
Update for S. Berger
29.06.1999 bergers
Also moves simple layers correctly now.
18.03.1999 bergers
Uses CreateRastPort() and FreeRastPort() for RastPorts and fixes memory leak in layers library.
16.03.1999 bergers
ClipRects are not cached in the LayerInfo structure anymore as this might suggest that there is a memory leak while there is not one. Instead there are cached with every layer individually.
25.02.1999 bergers
Alloc ClipRects are fetched from a pool of cliprects in the LayerInfo and when freed put into that pool.
10.02.1999 bergers
Bugfixes for superbitmapped layers.
08.02.1999 bergers
Added description, support for simple layers and bugfixes.
03.02.1999 bergers
Fixed a bug concerning superbitmapped layers.
26.01.1999 bergers
Update for support for superbitmapped layers.
17.01.1999 bergers
Removed debug output. Implemented movelayer().
19.10.1998 ldp
Amiga Research OS
17.11.1997 ldp
Directly call MoveSizeLayer()
18.08.1997 ldp
Empty functions