| WinBackupToScr | Function (ROM Call 0x3)

wingraph.h

void WinBackupToScr (WINDOW *w);

Shows a current backup screen.

If the window pointed to by w is active, WinBackupToScreen copies the current backup screen (duplicate screen) to the real screen (more precise, to the client area of the window), else does nothing. This routine assumes that a window is opened with the WF_DUP_SCR flag (see WinOpen). Then, all output to that window is saved in a backup screen image (allocated in the heap). So, this routine copies the contents of that image to the real screen.

Uses: BitmapPut
Used by: cmd_disp, cmd_input, cmd_inputstr, cmd_output, cmd_pause, cmd_prompt, GR3_paint3d, HomeExecute, GR3_handleEvent, GT_BackupToScr

See also: DrawWinBorder