mvderwin(3curses)


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(3curses) 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.

That is, mvderwin(3curses) 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(3curses) returns OK. Otherwise, it returns ERR.

Errors

No errors are defined.

Standards Conformance

The Single UNIX Specification, Version 2; The Open Group.

References

derwin(3curses), doupdate(3curses), dupwin(3curses), curses(4)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004