(C) 1998 AROS - The Amiga Research OS


NAME

LONG UpfrontLayer (dummy , L)

LOCATION
In LayersBase at offset 8

SYNOPSIS
LONG dummy
struct Layer * L

FUNCTION
Brings a layer to the front. If this layer is a backdrop layer it is brought in front of all backdrop layers and behind the last non-backdrop layer. By clearing the BACKDROP flag of a layer a backdrop layer can be brought in front of all other layers. Parts of a simple layer that become visible are added to the damage list and the REFRESH flag is set.

INPUTS
dummy
unused
L
pointer to layer

RESULT
TRUE - layer was moved FALSE - layer could not be moved (probably out of memory)

EXAMPLE

SEE ALSO
CreateUpfrontLayer() CreateUpfrontHookLayer() BehindLayer() CreateBehindLayer() CreateBehindHookLayer()

NOTES

BUGS

INTERNALS

HISTORY
21.07.1999 stegerg
call backfill hook for cliprects causing LAYERREFRESH
20.07.1999 digulla
Update for S. Berger
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.
20.02.1999 bergers
Added text to autodocs. Bugfixes. Fixed some typos in docs.
08.02.1999 bergers
Added description, support for simple layers and bugfixes.
11.01.1999 bergers
Lots of new functionalities. Support for backdrop layers.
06.12.1998 bergers
Added more comments
19.10.1998 ldp
Added proto/graphics.h include
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