(C) 1998 AROS - The Amiga Research OS


NAME
#include <proto/layers.h>
#include <>

void SortLayerCR (layer , dx , dy)

LOCATION
In LayersBase at offset 35

SYNOPSIS
struct Layer * layer
LONG dx
LONG dy

FUNCTION
Sorts the list of ClipRects associated with the given layer. The direction of the sort is indicated by dx and dy.

INPUTS
layer
- the layer with the ClipRect list to sort
dx
- the left/right ordering
dy
- the up/down ordering

RESULT
The layer->ClipRect pointer now points to a sorted list of ClipRects.

EXAMPLE

SEE ALSO

NOTES

BUGS

INTERNALS
Implemented as an InsertSort on a singly linked list.

HISTORY
19.10.1998 ldp
Amiga Research OS
12.07.1997 ldp
First entry