Home  /  Autodocs  /  sketchboard.gadget

NAME

SGM_Scroll
Scroll the contents by dx/dy pixels.

SYNOPSIS

ULONG result = IDoMethodA(APTR obj, struct spScrollRaster* msg);

FUNCTION

This method scrolls the sketchboard by dx/dy pixels. The delta amounts are specified in the spScrollRaster message.

INPUTS

obj
sketchboard object pointer

msg
pointer to fully initialized struct spScrollRaster (see <gadgets/sketchboard.h>)

RESULT

Returns 1 if changes were rendered or 0 if not.

SEE ALSO

intuition.library/DoGadgetMethodA()