ncurses_border

(PHP 4 >= 4.2.0, PHP 5 < 5.3.0, PECL ncurses >= 1.0.0)
Draw a border around the screen using attributed characters
int ncurses_border ( int $left, int $right, int $top, int $bottom, int $tl_corner, int $tr_corner, int $bl_corner, int $br_corner )

Draws the specified lines and corners around the main window.

Use ncurses_wborder() for borders around subwindows!

Parameters:
left

Draws the specified lines and corners around the main window.

Use ncurses_wborder() for borders around subwindows!

right

Draws the specified lines and corners around the main window.

Use ncurses_wborder() for borders around subwindows!

top

Draws the specified lines and corners around the main window.

Use ncurses_wborder() for borders around subwindows!

bottom

Draws the specified lines and corners around the main window.

Use ncurses_wborder() for borders around subwindows!

tl_corner

Top left corner

tr_corner

Top right corner

bl_corner

Bottom left corner

br_corner

Bottom right corner

This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This function should be used at your own risk.

See also:

ncurses_wborder() -

doc_php
2016-02-24 15:54:36
Comments
Leave a Comment

Please login to continue.