X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=man%2Fcurs_border.3x;h=09f9a4c221f91f3f40e73c13732bd6e4027c42f6;hp=2b18d8b0a0b56a1c04fd0d54a36c230dcbaaa110;hb=7b2974498fac39a3ffde257c92f572234d529239;hpb=55ccd2b959766810cf7db8d1c4462f338ce0afc8 diff --git a/man/curs_border.3x b/man/curs_border.3x index 2b18d8b0..09f9a4c2 100644 --- a/man/curs_border.3x +++ b/man/curs_border.3x @@ -1,5 +1,5 @@ .\"*************************************************************************** -.\" Copyright (c) 1998-2002,2005 Free Software Foundation, Inc. * +.\" Copyright (c) 1998-2006,2007 Free Software Foundation, Inc. * .\" * .\" Permission is hereby granted, free of charge, to any person obtaining a * .\" copy of this software and associated documentation files (the * @@ -26,7 +26,7 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: curs_border.3x,v 1.17 2005/05/15 16:17:31 tom Exp $ +.\" $Id: curs_border.3x,v 1.19 2007/02/24 16:15:38 tom Exp $ .TH curs_border 3X "" .na .hy 0 @@ -64,9 +64,9 @@ .br \fBint wvline(WINDOW *win, chtype ch, int n);\fR .br -\fBmvhline(int y, int x, chtype ch, int n);\fR +\fBint mvhline(int y, int x, chtype ch, int n);\fR .br -\fBmvwhline(WINDOW *, int y, int x, chtype ch, int n);\fR +\fBint mvwhline(WINDOW *, int y, int x, chtype ch, int n);\fR .br \fBint mvvline(int y, int x, chtype ch, int n);\fR .br @@ -76,6 +76,7 @@ The \fBborder\fR, \fBwborder\fR and \fBbox\fR routines draw a box around the edges of a window. Other than the window, each argument is a character with attributes: +.sp .RS \fIls\fR - left side, .br @@ -93,8 +94,10 @@ Other than the window, each argument is a character with attributes: .br \fIbr\fR - bottom right-hand corner. .RE +.PP If any of these arguments is zero, then the corresponding default values (defined in \fBcurses.h\fR) are used instead: +.sp .RS \fBACS_VLINE\fR, .br @@ -112,16 +115,16 @@ default values (defined in \fBcurses.h\fR) are used instead: .br \fBACS_LRCORNER\fR. .RE - +.PP \fBbox(\fR\fIwin\fR\fB, \fR\fIverch\fR\fB, \fR\fIhorch\fR\fB)\fR is a shorthand for the following call: \fBwborder(\fR\fIwin\fR\fB,\fR \fIverch\fR\fB,\fR \fIverch\fR\fB,\fR \fIhorch\fR\fB,\fR \fIhorch\fR\fB, 0, 0, 0, 0)\fR. - +.PP The \fBhline\fR and \fBwhline\fR functions draw a horizontal (left to right) line using \fIch\fR starting at the current cursor position in the window. The current cursor position is not changed. The line is at most \fIn\fR characters long, or as many as fit into the window. - +.PP The \fBvline\fR and \fBwvline\fR functions draw a vertical (top to bottom) line using \fIch\fR starting at the current cursor position in the window. The current cursor position is not changed. The line is at most \fIn\fR characters @@ -136,7 +139,7 @@ if the window pointer is null. .SH NOTES The borders generated by these functions are \fIinside\fR borders (this is also true of SVr4 curses, though the fact is not documented). - +.PP Note that \fBborder\fR and \fBbox\fR may be macros. .SH PORTABILITY These functions are described in the XSI Curses standard, Issue 4.