|
|
MPE/iX Developer's Kit Reference Manual Volume 2: HP 3000 MPE/iX Computer Systems > Chapter 4 CURSEStouchwin touchline untouchwin wtouchln is_linetouched is_wintouched |
|
The touchwin set of routines is used to control the refresh of the window.
The touchwin() routine marks the entire window as dirty. This makes it appear to CURSES as if the whole window has been changed, thus causing the entire window to be rewritten with the next call to wrefresh(). This is sometimes necessary when using overlapping windows; the change to one window is not reflected in the other and, hence is not recorded. The touchline() routine marks as dirty a portion of the window starting at line start and continuing for count lines, instead of the entire window. Consequently, that portion of the window is updated with the next call to wrefresh(). The untouchwin() routine marks all lines in the window as unchanged since the last refresh, ensuring that it is not updated. The wtouchln() routines marks n lines starting at line y as either changed (TRUE) or unchanged (FALSE) since the last refresh. To find out which lines or windows have been changed since the last refresh, use the is_linetouched() and is_wintouched() commands, respectively. These return TRUE if the specified lines or window have been changed since the last call to wrefresh() or FALSE if no changes have been made.
The touchwin() routine is identical to XPG/3. The touchline(), untouchwin(), wtouchln(), is_linetouched(), and is_wintouched() routines are UNIX System V implementations. |
|