(C) 1998 AROS - The Amiga Research OS


NAME
#include <proto/layers.h>

LONG MoveLayerInFrontOf (layer_to_move , other_layer)

LOCATION
In LayersBase at offset 28

SYNOPSIS
struct Layer * layer_to_move
struct Layer * other_layer

FUNCTION
Moves layer directly in front of another layer. Other layers might become visible. You cannot move a backdrop layer in front of a non-backdrop layer. If parts of a simple layer become visible these areas are added to the damage list.

INPUTS
layer_to_move
pointer to layer that is to be moved
other_layer
pointer to other layer that will be behind the layer_to_move.

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

EXAMPLE

SEE ALSO

NOTES

BUGS

INTERNALS

HISTORY
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.
23.02.1999 bergers
Support for simple layers. Bugfixes.
21.01.1999 bergers
Added support for superbitmaps.
11.01.1999 bergers
Lots of new functionalities. Support for backdrop layers.
19.10.1998 ldp
Amiga Research OS
18.08.1997 ldp
Empty functions