Next Previous Contents

25. SLsmg_set_screen_start

Synopsis

Set the origin of the virtual display

Usage

void SLsmg_set_screen_start (int *r, int *c)

Description

SLsmg_set_screen_start sets the origin of the virtual display to the row *r and the column *c. If either r or c is NULL, then the corresponding value will be set to 0. Otherwise, the location specified by the pointers will be updated to reflect the old origin.

See slang/demo/pager.c for how this function may be used to scroll horizontally.

See Also

SLsmg_init_smg


Next Previous Contents