 |
WinScrollH |
Function (ROM Call 0x23) |
Shifts a region of a window left or right.
WinScrollH shifts the rectangular area determined by rect of the window
pointed to by w left by NumRows pixels (or right
if NumRows < 0). The coordinates in rect are relative
to the topleft corner od the window. Blank areas (i.e. the vacant space produced after
scrolling) are filled with current background for the window (see
WinBackground).
Note: This command is not very fast because it is realized using
WinBitmapGet and WinBitmapPut.
If the region to be scrolled starts on a byte boundary (left-most pixel), then the
region will scroll much faster.
Uses: WinToScr, ClientToScr, PortRestore, ScrRectOverlap, ScrRectShift, ROM Call 0x413
Used by: cmd_pause