X-Git-Url: https://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fcurs_border.3x.html;h=f2f4d5659c9cc48d0dc79b5d10563d5209a70282;hb=0948e2c7ac34642a1f8a3a85000933bcbb258cff;hp=e6f9adbfc74cdc599c433f0bb39ae2bbfc06d452;hpb=46722468f47c2b77b3987729b4bcf2321cccfd01;p=ncurses.git diff --git a/doc/html/man/curs_border.3x.html b/doc/html/man/curs_border.3x.html index e6f9adbf..f2f4d565 100644 --- a/doc/html/man/curs_border.3x.html +++ b/doc/html/man/curs_border.3x.html @@ -1,7 +1,7 @@ - +
@@ -40,12 +40,16 @@+curs_border(3x) curs_border(3x) + + +
- border, wborder, box, hline, whline, vline, wvline, mvh- - line, mvwhline, mvvline, mvwvline - create curses borders, - horizontal and vertical lines + border, wborder, box, hline, whline, vline, wvline, + mvhline, mvwhline, mvvline, mvwvline - create curses + borders, horizontal and vertical lines@@ -61,8 +65,8 @@ int whline(WINDOW *win, chtype ch, int n); int vline(chtype ch, int n); int wvline(WINDOW *win, chtype ch, int n); - mvhline(int y, int x, chtype ch, int n); - mvwhline(WINDOW *, int y, int x, chtype ch, int n); + int mvhline(int y, int x, chtype ch, int n); + int mvwhline(WINDOW *, int y, int x, chtype ch, int n); int mvvline(int y, int x, chtype ch, int n); int mvwvline(WINDOW *, int y, int x, chtype ch, int n); @@ -72,6 +76,7 @@ The border, wborder and box routines draw a box around the edges of a window. Other than the window, each argument is a character with attributes: + ls - left side, rs - right side, ts - top side, @@ -80,8 +85,10 @@ tr - top right-hand corner, bl - bottom left-hand corner, and br - bottom right-hand corner. + If any of these arguments is zero, then the corresponding default values (defined in curses.h) are used instead: + ACS_VLINE, ACS_VLINE, ACS_HLINE, @@ -100,6 +107,7 @@ tion in the window. The current cursor position is not changed. The line is at most n characters long, or as many as fit into the window. + The vline and wvline functions draw a vertical (top to bottom) line using ch starting at the current cursor posi- tion in the window. The current cursor position is not @@ -113,10 +121,17 @@ says "or a non-negative integer if immedok is set", but this appears to be an error. + X/Open does not define any error conditions. This imple- + mentation returns an error if the window pointer is null. + + Functions with a "mv" prefix first perform a cursor move- + ment using wmove, and return an error if the position is + outside the window, or if the window pointer is null. +
- The borders generated by these functions are inside bor- + The borders generated by these functions are inside bor- ders (this is also true of SVr4 curses, though the fact is not documented). @@ -125,8 +140,8 @@
- These functions are described in the XSI Curses standard, - Issue 4. The standard specifies that they return ERR on + These functions are described in the XSI Curses standard, + Issue 4. The standard specifies that they return ERR on failure, but specifies no error conditions. @@ -136,32 +151,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - + curs_border(3x)