Add descriptions for newpad(), subpad(), prefresh() and pnoutrefresh().
This commit is contained in:
parent
2467ead4d8
commit
6d51b9fd23
|
@ -841,6 +841,30 @@ Change the current \*y of the window to
|
||||||
.Vn y\*,x ). (
|
.Vn y\*,x ). (
|
||||||
\*(Es
|
\*(Es
|
||||||
.Ds
|
.Ds
|
||||||
|
.Fn mvaddch "int y" "int x" "chtype ch"
|
||||||
|
.De
|
||||||
|
Moves the cursor to the position
|
||||||
|
.Vn (y ,
|
||||||
|
.Vn x )
|
||||||
|
and then adds a character in the same manner as
|
||||||
|
.Fn addch .
|
||||||
|
.Ds
|
||||||
|
.Fn mvaddstr "int y" "int x" "char *str" \(dg
|
||||||
|
.De
|
||||||
|
Moves the cursor to the position
|
||||||
|
.Vn (y ,
|
||||||
|
.Vn x )
|
||||||
|
and then adds a string in the same manner as
|
||||||
|
.Fn addstr .
|
||||||
|
.Ds
|
||||||
|
.Fn mvaddnstr "int y" "int x" "char *str" \(dg
|
||||||
|
.De
|
||||||
|
Moves the cursor to the position
|
||||||
|
.Vn (y ,
|
||||||
|
.Vn x )
|
||||||
|
and then adds a string in the same manner as
|
||||||
|
.Fn addnstr .
|
||||||
|
.Ds
|
||||||
.Fn mvcur "int lasty" "int lastx" "int newy" "int newx"
|
.Fn mvcur "int lasty" "int lastx" "int newy" "int newx"
|
||||||
.De
|
.De
|
||||||
Moves the terminal's cursor from
|
Moves the terminal's cursor from
|
||||||
|
@ -963,6 +987,15 @@ Sleep for
|
||||||
.Vn ms
|
.Vn ms
|
||||||
milliseconds.
|
milliseconds.
|
||||||
.Ds
|
.Ds
|
||||||
|
.Ft "WINDOW *"
|
||||||
|
.Fn newpad "int lines" "int cols"
|
||||||
|
.De
|
||||||
|
Create a new pad with
|
||||||
|
.Vn lines
|
||||||
|
lines and
|
||||||
|
.Vn cols
|
||||||
|
columns.
|
||||||
|
.Ds
|
||||||
.Ft "SCREEN *"
|
.Ft "SCREEN *"
|
||||||
.Fn newterm "char *type" "FILE *outfd" "FILE *infd"
|
.Fn newterm "char *type" "FILE *outfd" "FILE *infd"
|
||||||
.De
|
.De
|
||||||
|
@ -1120,10 +1153,21 @@ blanks on
|
||||||
become blank on
|
become blank on
|
||||||
.Vn win2 .
|
.Vn win2 .
|
||||||
.Ds
|
.Ds
|
||||||
.Fn pair content "short pair" "short *fore" "short *back"
|
.Fn pair_content "short pair" "short *fore" "short *back"
|
||||||
.De
|
.De
|
||||||
Get the foreground and background colors of pair
|
Get the foreground and background colors of pair
|
||||||
.Vn pair .
|
.Vn pair .
|
||||||
|
.Ds
|
||||||
|
.Fn pnoutrefresh "WINDOW *pad" "int pbeg_y" "int pbeg_x" "int sbeg_y" "int sbeg_x" "int smax_y" "int smax_x"
|
||||||
|
.De
|
||||||
|
Add the pad contents to a virtual screen. Several pads can be added
|
||||||
|
before a call to
|
||||||
|
.Fn doupdate ,
|
||||||
|
thus allowing the screen to updated in an efficient manner.
|
||||||
|
.Ds
|
||||||
|
.Fn prefresh "WINDOW *pad" "int pbeg_y" "int pbeg_x" "int sbeg_y" "int sbeg_x" "int smax_y" "int smax_x"
|
||||||
|
.De
|
||||||
|
Synchronize the terminal screen with the desired pad.
|
||||||
.Ds
|
.Ds
|
||||||
.Fn printw "char *fmt" "..."
|
.Fn printw "char *fmt" "..."
|
||||||
.De
|
.De
|
||||||
|
@ -1284,6 +1328,24 @@ or
|
||||||
are called.
|
are called.
|
||||||
.Ds
|
.Ds
|
||||||
.Ft "WINDOW *"
|
.Ft "WINDOW *"
|
||||||
|
.Fn subpad "WINDOW *win" "int lines" "int cols" "int begin_y" "int begin_x"
|
||||||
|
.De
|
||||||
|
Create a new pad with
|
||||||
|
.Vn lines
|
||||||
|
lines and
|
||||||
|
.Vn cols
|
||||||
|
columns starting at position
|
||||||
|
.Vn begin\*_y\*,begin\*_x ) (
|
||||||
|
inside the pad
|
||||||
|
.i win .
|
||||||
|
This means that any change made to either pad
|
||||||
|
in the area covered
|
||||||
|
by the subpad will be made on both pads.
|
||||||
|
.Vn begin\*_y\*,begin\*_x
|
||||||
|
are specified relative to the relative (0\*,0) of
|
||||||
|
.Vn win .
|
||||||
|
.Ds
|
||||||
|
.Ft "WINDOW *"
|
||||||
.Fn subwin "WINDOW *win" "int lines" "int cols" "int begin_y" "int begin_x"
|
.Fn subwin "WINDOW *win" "int lines" "int cols" "int begin_y" "int begin_x"
|
||||||
.De
|
.De
|
||||||
Create a new window with
|
Create a new window with
|
||||||
|
|
Loading…
Reference in New Issue