(C) 1998 AROS - The Amiga Research OS


NAME

LONG MoveSizeLayer (l , dx , dy , dw , dh)

LOCATION
In LayersBase at offset 30

SYNOPSIS
struct Layer * l
LONG dx
LONG dy
LONG dw
LONG dh

FUNCTION
Moves and resizes the layer in one step. Collects damage lists for those layers that become visible and are simple layers. If the layer to be moved is becoming larger the additional areas are added to a damagelist if it is a non-superbitmap layer. Refresh is also triggered for this layer.

INPUTS
l
pointer to layer to be moved
dx
delta to add to current x position
dy
delta to add to current y position
dw
delta to add to current width
dw
delta to add to current height

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

EXAMPLE

SEE ALSO

NOTES

BUGS

INTERNALS

HISTORY
20.07.1999 digulla
Update for S. Berger
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.
28.02.1999 bergers
All functions use the backfill or blank hook to fill cleared or new areas.
25.02.1999 bergers
Alloc ClipRects are fetched from a pool of cliprects in the LayerInfo and when freed put into that pool.
23.02.1999 bergers
Removed BUG-comment.
20.02.1999 bergers
Added text to autodocs. Bugfixes. Fixed some typos in docs.
18.02.1999 bergers
DamageList is updated when the layer is getting larger and it is a simple or a smart layer.
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
Added support for superbitmapped layers.
22.01.1999 bergers
Bugfix.
21.01.1999 bergers
Implementation of that function.
20.10.1998 hkiel
Amiga Research OS
18.08.1997 ldp
Empty functions