| SaveScrState | Function (ROM Call 0x1A0)

graph.h

void SaveScrState (void *buffer);

Saves the state of the graphic system.

SaveStrState saves the current state of the graphic system (including the address and dimensions of the virtual screen, current font, attribute, clipping area and pen position) into a 18-byte structure pointed to by buffer. buffer is usually a pointer to a SCR_STATE structure.

Uses: memcpy
Used by: ABT_dialog, GR3_paint3d, MenuKey, MenuOff, MenuOn, MenuTopRedef, MenuTopSelect, ST_eraseHelp, ST_helpMsg, ST_modKey, ST_precision, fgetchar, fopen, fputchar, gets, getsn, GR3_handleEvent, ROM Call 0x421, WinBeginPaint