Manual Pages for UNIX Darwin command on man wtouchln
MyWebUniversity

Manual Pages for UNIX Darwin command on man wtouchln

curstouch(3X) curstouch(3X)

NAME

ttoouucchhwwiinn, ttoouucchhlliinnee, uunnttoouucchhwwiinn, wwttoouucchhllnn, iisslliinneettoouucchheedd,

iisswwiinnttoouucchheedd - ccuurrsseess refresh control routines

SYNOPSIS

##iinncclluuddee <>

iinntt ttoouucchhwwiinn((WWIINNDDOOWW **wwiinn));; iinntt ttoouucchhlliinnee((WWIINNDDOOWW **wwiinn,, iinntt ssttaarrtt,, iinntt ccoouunntt));; iinntt uunnttoouucchhwwiinn((WWIINNDDOOWW **wwiinn));; iinntt wwttoouucchhllnn((WWIINNDDOOWW **wwiinn,, iinntt yy,, iinntt nn,, iinntt cchhaannggeedd));; bbooooll iisslliinneettoouucchheedd((WWIINNDDOOWW **wwiinn,, iinntt lliinnee));; bbooooll iisswwiinnttoouucchheedd((WWIINNDDOOWW **wwiinn));;

DESCRIPTION

The ttoouucchhwwiinn and ttoouucchhlliinnee routines throw away all optimization infor-

mation about which parts of the window have been touched, by pretending that the entire window has been drawn on. This is sometimes necessary when using overlapping windows, since a change to one window affects the other window, but the records of which lines have been changed in the other window do not reflect the change. The routine ttoouucchhlliinnee only pretends that count lines have been changed, beginning with line start. The uunnttoouucchhwwiinn routine marks all lines in the window as unchanged since the last call to wwrreeffrreesshh. The wwttoouucchhllnn routine makes n lines in the window, starting at line y, look as if they have (changed==11) or have not (changed==00) been changed since the last call to wwrreeffrreesshh.

The iisslliinneettoouucchheedd and iisswwiinnttoouucchheedd routines return TTRRUUEE if the speci-

fied line/window was modified since the last call to wwrreeffrreesshh; other-

wise they return FFAALLSSEE. In addition, iisslliinneettoouucchheedd returns EERRRR if line is not valid for the given window. RREETTUURRNN VVAALLUUEE All routines return the integer EERRRR upon failure and an integer value other than EERRRR upon successful completion, unless otherwise noted in the preceding routine descriptions. X/Open does not define any error conditions. In this implementation iisslliinneettoouucchheedd returns an error if the window pointer is null, or if the

line number is outside the window. Note that ERR is dis-

tinct from TRUE and FALSE, which are the normal return val-

ues of this function. wwttoouucchhllnn returns an error if the window pointer is null, or if the line number is outside the window. PPOORRTTAABBIILLIITTYY The XSI Curses standard, Issue 4 describes these functions. Some historic curses implementations had, as an undocumented feature,

the ability to do the equivalent of cclleeaarrookk((......,, 11)) by saying ttoouucchh-

wwiinn((ssttddssccrr)) or cclleeaarr((ssttddssccrr)). This will not work under ncurses. NNOOTTEESS Note that all routines except wwttoouucchhllnn may be macros.

SEE ALSO

ccuurrsseess(3X), ccuurrssrreeffrreesshh(3X). curstouch(3X)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™