mvderwin.3x (2010 09)

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 3: September 2010 1 Hewlett-Packard Company 1

Summary of content (2 pages)