overlay(3cur)
Name
overlay, overwrite − overlay windows
Syntax
#include <cursesX.h>
int overlay(srcwin, dstwin)
WINDOW ∗srcwin, ∗dstwin;
int overwrite(srcwin, dstwin)
WINDOW ∗srcwin, ∗dstwin;
Description
The overlay routine copies all the text from the source window srcwin on top of the destination window dstwin. The two windows are not required to be the same size. The copy starts at (0, 0) on both windows. The copy is non-destructive, so blanks are not copied.
The overwrite routine copies all of srcwin on top of destwin. The copy starts at (0, 0) on both windows. This is a destructive copy as blanks are copied.
Return Value
The overlay and overwrite functions return OK on success and ERR on error.
Errors
No errors are defined for these functions.