(C) 1998 AROS - The Amiga Research OS


NAME
#include <proto/layers.h>

LONG DeleteLayer (dummy , LD )

LOCATION
In LayersBase at offset 15

SYNOPSIS
LONG dummy
struct Layer * LD

FUNCTION
Deletes the layer. Other layers that were hidden (partially) will become visible. If parts of a simple layer become visible those parts are added to the damagelist of the layer and the LAYERREFRESH flags is set.

INPUTS
dummy
nothing special
LD
layer to be deleted

RESULT
TRUE - layer was successfully deleted FALSE - layer could not be delete (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.
18.02.1999 bergers
Added description + support for simple layers.
10.02.1999 bergers
Bugfixes for superbitmapped layers.
08.02.1999 bergers
Added description, support for simple layers and bugfixes.
05.02.1999 bergers
Bugfixes and implementations for simple layers.
26.01.1999 bergers
Added support for superbitmapped layers.
21.01.1999 bergers
Added support for superbitmaps.
17.01.1999 bergers
Removed debug output. Implemented movelayer().
11.01.1999 bergers
Lots of new functionalities. Support for backdrop layers.
06.12.1998 bergers
Bugfixes.
02.12.1998 bergers
Added more comments, removed obviouse bugs etc.
19.10.1998 ldp
Amiga Research OS
13.10.1998 bergers
Fixed typos, added friend-bitmaps etc.
12.10.1998 bergers
New functions, bugfixes in "old" functions.
18.08.1997 ldp
Empty functions