Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement
next up previous contents
Next: 8.6.5 Background Character Up: 8.6 Output Previous: 8.6.3 Delete Characters/Lines

8.6.4 Boxes and Lines

  • int border(ls, rs, ts, bs, tl, tr, bl, br)  
    int wborder(win, ls, rs, ts, bs, tl, tr, bl, br)  
    int box(win, vert, hor)  
    Draw a border around the edges of a window ( or win). In the following table you see the characters and their default values when zero in a call to box(...). In the picture you can see the position from the characters in a box.

      
    Table 8.3: Ncurses - border characters

      
    Figure 8.2: Ncurses - box characters

  • int vline(ch, n)  
    int wvline(win, ch, n)  
    int hline(ch, n)  
    int whline(win, ch, n)  
    These functions draw a vertical or horizontal line starting at the current cursor position. ch is the character to use and n is the number of characters to draw. The cursor position is not advanced.


Converted on:
Fri Mar 29 14:43:04 EST 1996
Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.