Next Previous Contents

22. SLsmg_init_smg

Synopsis

Initialize the SLsmg routines

Usage

int SLsmg_init_smg (void)

Description

The SLsmg_init_smg function initializes the SLsmg screen management routines. Specifically, this function allocates space for the virtual display and calls SLtt_init_video to put the terminal's physical display in the proper state. It is up to the caller to make sure that the SLtt routines are initialized via SLtt_get_terminfo before calling SLsmg_init_smg.

This function should also be called any time the size of the physical display has changed so that it can reallocate a new virtual display to match the physical display.

See Also

SLsmg_reset_smg


Next Previous Contents