NAME
overlay, overwrite, copywin - overlay and manipulate overlapped curses windows
SYNOPSIS
#include <curses.h> int overlay(const WINDOW *srcwin, WINDOW *dstwin); int overwrite(const WINDOW *srcwin, WINDOW *dstwin); int copywin(const WINDOW *srcwin, WINDOW *dstwin, int sminrow, int smincol, int dminrow, int dmincol, int dmaxrow, int dmaxcol, int overlay);
DESCRIPTION
overlay, overwrite The overlay and overwrite routines overlay srcwin on top of dstwin. scrwin and dstwin are not required to be the same size; only text where the two windows overlap is copied. The difference is that overlay is non-destructive (blanks are not copied) whereas overwrite is destructive. copywin The copywin routine provides a finer granularity of control over the overlay and overwrite routines. As in the prefresh routine, a rectangle is specified in the destination window, (dminrow, dmincol) and (dmaxrow, dmaxcol), and the upper-left-corner coordinates of the source window, (sminrow, smincol). If the argument overlay is true, then copying is non-destructive, as in overlay.
RETURN VALUE
Routines that return an integer return ERR upon failure, and OK (SVr4 only specifies "an integer value other than ERR") upon successful completion. X/Open defines no error conditions. In this implementation, copywin, overlay and overwrite return an error if either of the window pointers are null, or if some part of the window would be placed off-screen.
NOTES
Note that overlay and overwrite may be macros.
PORTABILITY
The XSI Curses standard, Issue 4 describes these functions (adding the const qualifiers). It further specifies their behavior in the presence of characters with multibyte renditions (not yet supported in this implementation).
SEE ALSO
ncurses(3NCURSES), pad(3NCURSES), refresh(3NCURSES) overlay(3NCURSES)
More Linux Commands
manpages/XdbeGetBackBufferAttributes.3.html
XdbeGetBackBufferAttributes(3) - returns attributes of a DBE
This function returns the attributes associated with the specified buffer. The XdbeBackBufferAttributes structure has the following fields: Window window window
manpages/tk_menuSetFocus.n.html
tk_menuSetFocus(n) - Create and manipulate menu widgets.....
The menu command creates a new top-level window (given by the pathName argument) and makes it into a menu widget. That menu widget can either be used as a pop-u
manpages/sched_getscheduler.2.html
sched_getscheduler(2) - set and get scheduling policy/parame
The sched_setscheduler() system call sets both the scheduling policy and parameters for the thread whose ID is specified in pid. If pid equals zero, the schedul
manpages/Tcl_ExprBooleanObj.3.html
Tcl_ExprBooleanObj(3) - evaluate an expression (Man Page)...
These four procedures all evaluate an expression, returning the result in one of four different forms. The expression is given by the objPtr argument, and it ca
manpages/getcwd.2.html
getcwd(2) - get current working directory - Linux man page
RETURN VALUE ERRORS CONFORMING TO NOTES SEE ALSO COLOPHON NAME getcwd get current working directory SYNOPSIS /* * This page documents the getcwd(2) system call,
manpages/Xaw.3.html
Xaw(3) - X Athena Widgets (Library - Linux man page)........
Xaw is a widget set based on the X Toolkit Intrinsics (Xt) Library. This release by the X.Org Foundation includes additions and modifications originally made fo
manpages/yp.conf.5.html
yp.conf(5) - NIS binding configuration file - Linux man page
The file /etc/yp.conf is read from ypbind(8) at startup or when receiving signal SIGHUP. The entries are used for the initial binding. Valid entries are domain
manpages/gnutls_pubkey_export.3.html
gnutls_pubkey_export(3) - API function - Linux manual page
gnutls_pubkey_export.3 - This function will export the certificate to DER or PEM format. If the buffer provided is not long enough to hold the output, then *out
manpages/gnutls_pubkey_get_pk_rsa_raw.3.html
gnutls_pubkey_get_pk_rsa_raw(3) - API function (Man Page)...
gnutls_pubkey_get_pk_rsa_raw.3 - This function will export the RSA public keys parameters found in the given structure. The new parameters will be allocated usi
manpages/keyctl_get_security.3.html
keyctl_get_security(3) - Retrieve a key's security context
keyctl_get_security() retrieves the security context of a key as a NUL-terminated string. This will be rendered in a form appropriate to the LSM in force - for
manpages/CPU_ALLOC_SIZE.3.html
CPU_ALLOC_SIZE(3) - macros for manipulating CPU sets........
The cpu_set_t data structure represents a set of CPUs. CPU sets are used by sched_setaffinity(2) and similar interfaces. The cpu_set_t data type is implemented
manpages/Encode::Unicode::UTF7.3pm.html
Encode::Unicode::UTF7(3pm) - UTF-7 encoding - Linux man page
This module implements UTF7 encoding documented in RFC 2152. UTF7, as its name suggests, is a 7bit re-encoded version of UTF16BE. It is designed to be MTA-s
