mvderwin(CURSES)
mvderwin --
define window coordinate transformation
Synopsis
cc [options] file -lcurses
#include <curses.h>
int mvderwin(WINDOW *win, int par_y, int par_x);
Description
The
mvderwin(CURSES)
function specifies a mapping of characters. The function identifies
a mapped area of the parent of the specified window, whose size is the same as
the size of the specified window and whose origin is
at (par_y, par_x) of the parent window.
-
During any refresh of the specified window, the characters displayed in that
window's display area of the terminal are taken from the mapped area.
-
Any references to characters in the specified window obtain or modify
characters in the mapped area.
That is,
mvderwin(CURSES)
defines a coordinate transformation from each position in the mapped area to a
corresponding position (same y, x offset from the origin) in
the specified window.
Return value
Upon successful completion,
mvderwin(CURSES)
returns OK. Otherwise, it returns ERR.
Errors
No errors are defined.
Standards Conformance
The Single UNIX Specification, Version 2; The Open Group.
References
derwin(CURSES),
doupdate(CURSES),
dupwin(CURSES),
curses(F)
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 01 June 2005