mvderwin(3X) mvderwin(3X)
NAME
mvderwin - define window coordinate transformation
SYNOPSIS
cc [flag ...] file ... -lcurses [library ...]
#include <curses.h>
int mvderwin(WINDOW *win, int pary, int parx);
DESCRIPTION
The mvderwin() function specifies a mapping of characters. The func-
tion 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 (pary, parx) 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() 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() returns OK. Otherwise, it
returns ERR.
ERRORS
No errors are defined.
SEE ALSO
curses(3X), derwin(3X), doupdate(3X), dupwin(3X), curses(5).
Page 1 Reliant UNIX 5.44 Printed 11/98