X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fcurs_border.3x.html;h=bf1bbe74171fe37f0784653d6151974eb42b3c55;hp=e6f9adbfc74cdc599c433f0bb39ae2bbfc06d452;hb=c6cfd97b8beaf0f6deafbf8aac7281cf6aa7f012;hpb=46722468f47c2b77b3987729b4bcf2321cccfd01 diff --git a/doc/html/man/curs_border.3x.html b/doc/html/man/curs_border.3x.html index e6f9adbf..bf1bbe74 100644 --- a/doc/html/man/curs_border.3x.html +++ b/doc/html/man/curs_border.3x.html @@ -1,7 +1,6 @@ - +
+ +- +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 +NAME
+ border, wborder, box, hline, whline, vline, wvline, + mvhline, mvwhline, mvvline, mvwvline - create curses + borders, horizontal and vertical lines-SYNOPSIS
+SYNOPSIS
#include <curses.h> int border(chtype ls, chtype rs, chtype ts, chtype bs, chtype tl, chtype tr, chtype bl, chtype br); @@ -61,17 +66,18 @@ 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);-DESCRIPTION
+DESCRIPTION
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 +86,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 +108,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 @@ -108,15 +117,22 @@-RETURN VALUE
+RETURN VALUE
All routines return the integer OK. The SVr4.0 manual 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. +-NOTES
- The borders generated by these functions are inside bor- +NOTES
+ The borders generated by these functions are inside bor- ders (this is also true of SVr4 curses, though the fact is not documented). @@ -124,49 +140,30 @@-PORTABILITY
- These functions are described in the XSI Curses standard, - Issue 4. The standard specifies that they return ERR on +PORTABILITY
+ 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.-SEE ALSO
+SEE ALSO
curses(3x), curs_outopts(3x). - - - - - - - - - - - - - - - - - - - - - - - - - - + curs_border(3x)-
- -Man(1) output converted with -man2html - +