HP-UX Reference (11i v2 03/08) - 3 Library Functions A-M (vol 6)
m
mvderwin(3X) mvderwin(3X)
(ENHANCED CURSES)
NAME
mvderwin — define window coordinate transformation
SYNOPSIS
#include <curses.h>
int mvderwin(WINDOW *win, int par_y, int par_x);
DESCRIPTION
The mvderwin() 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() 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
derwin(3X), doupdate(3X), dupwin(3X), <curses.h>.
CHANGE HISTORY
First released in X/Open Curses, Issue 4.
HP-UX 11i Version 2: August 2003 − 1 − Hewlett-Packard Company Section 3−−623