(C) 1998 AROS - The Amiga Research OS


NAME

void ScrollLayer (dummy , l , dx , dy )

LOCATION
In LayersBase at offset 12

SYNOPSIS
LONG dummy
struct Layer * l
LONG dx
LONG dy

FUNCTION
For superbitmapped layers this function work like this:. It updates the contents of the superbitmap with what is visible on the display, repositions the superbitmap and redraws the display. For non-superbitmapped layers, all subsequent (x,y) pairs are adjusted by the scroll(x,y) value in the layer. If ScrollLayer(-10,-3) was called and (0,0) is drawn it will finally end up at coordinates (10, 3) in the superbitmap.

INPUTS
l
pointer to layer
dx
delta x to add to current x scroll value
dy
delta y to add to current y scroll value

RESULT

EXAMPLE

SEE ALSO

NOTES

BUGS
not tested

INTERNALS

HISTORY
05.02.1999 bergers
Bugfixes and implementations for simple layers.
30.01.1999 bergers
Activated call to Copy/SyncSbitMap.
26.01.1999 bergers
Added support for superbitmapped layers.
19.10.1998 ldp
Amiga Research OS
18.08.1997 ldp
Empty functions