49 int begin_y,
int begin_x ) {
51 if ( ( (
unsigned)ncols > parent->
width ) ||
52 ( (
unsigned)nlines > parent->
height ) )
116 if ( ( (
unsigned)( begin_y + nlines ) >
stdscr->height ) &&
117 ( (
unsigned)( begin_x + ncols ) >
stdscr->width ) )
121 win->
ori_y = begin_y;
122 win->
ori_x = begin_x;
141 int begin_y,
int begin_x ) {
143 child =
newwin( nlines, ncols, begin_y, begin_x );
#define NULL
NULL pointer (VOID *)
struct _curses_window WINDOW
Curses Window struct.
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
#define LINES(...)
Define inline lines.
void * malloc(size_t size)
Allocate memory.
int wmove(WINDOW *win, int y, int x) __nonnull
Move a window's cursor to the specified position.
void _wputch(WINDOW *win, chtype ch, int wrap) __nonnull
Write a single character rendition to a window.
MuCurses core implementation specific header file.
static unsigned int unsigned int y
static void(* free)(struct refcnt *refcnt))
unsigned int ori_x
window origin coordinates
unsigned int curs_x
window cursor position
unsigned int width
window dimensions
struct _curses_window * parent
parent window
attr_t attrs
window attributes
SCREEN * scr
screen with which window associates
int mvwin(WINDOW *win, int y, int x)
Move window origin to specified coordinates.
WINDOW * newwin(int nlines, int ncols, int begin_y, int begin_x)
Create new WINDOW.
int delwin(WINDOW *win)
Delete a window.
WINDOW * subwin(WINDOW *parent, int nlines, int ncols, int begin_y, int begin_x)
Create a new sub-window.
WINDOW * derwin(WINDOW *parent, int nlines, int ncols, int begin_y, int begin_x)
Create a new derived window.
WINDOW * dupwin(WINDOW *orig)
Create a duplicate of the specified window.