X/Open Curses Library Functions hlineset(3XCURSES)
NAME
hlineset, mvhlineset, mvvlineset, mvwhlineset,
mvwvlineset, vlineset, whlineset, wvlineset - use com-
plex characters (and renditions) to draw lines
SYNOPSIS
cc [ flag... ] file... -I /usr/xpg4/include -L /usr/xpg4/lib \
-R /usr/xpg4/lib -lcurses [ library... ]
c89 [ flag... ] file... -lcurses [ library... ]
#include
int hlineset(const cchart *ch, int n);
int mvhlineset(int y, int x, const cchart *wch, int n);
int mvvlineset(int y, int x, const cchart *wch, int n);
int mvwhlineset(WINDOW *win, int y, int x, const cchart *wch, int n);
int mvwvlineset(WINDOW *win, int y, int x, const cchart *wch, int n);
int vlineset(const cchart *wch, int n);
int whlineset(WINDOW *win, const cchart *wch, int n);
int wvlineset(WINDOW *win, const cchart *wch, int n);
DESCRIPTION
The hlineset(), vlineset(), whlineset(), wvlineset()
functions draw a line, in either the window stdscr or win
starting at the current cursor position. The line is drawn
using the character wch and is a maximum of n positions
long, or as many as will fit into the window. If wch is a
null pointer, the default horizontal or vertical character
is used.
The mvhlineset(), mvvlineset(), mvwhlineset(),
mvwvlineset() functions are similar to the previous group
of functions but the line begins at cursor position speci-
fied by x and y.
SunOS 5.11 Last change: 5 Jun 2002 1
X/Open Curses Library Functions hlineset(3XCURSES)
The functions with names ending with hlineset() draw hor-
izontal lines proceeding towards the last column of the same
line. The functions with names ending with vlineset() draw
vertical lines proceeding towards the last column of the
same line.
These functions do not change the position of the cursor.
PARAMETERS
wch Is the complex character used to draw the line.
n Is the maximum number of characters in the line.
y Is the y (row) coordinate for the start of the line.
x Is the x (column) coordinate for the start of the
line.
win Is a pointer to a window.
RETURN VALUES
On success, these functions return OK. Otherwise, they
return ER.
ERORS
None.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
Interface Stability Standard
MT-Level Unsafe
SEE ALSO
border(3XCURSES), borderset(3XCURSES), hline(3XCURSES),
libcurses(3XCURSES), attributes(5), standards(5)
SunOS 5.11 Last change: 5 Jun 2002 2
|