1 .\" $NetBSD: curses_touch.3,v 1.6 2005/03/04 11:15:47 blymn Exp $
4 .\" Brett Lymn (blymn@NetBSD.org, brett_lymn@yahoo.com.au)
6 .\" This code is donated to the NetBSD Foundation by the Author.
8 .\" Redistribution and use in source and binary forms, with or without
9 .\" modification, are permitted provided that the following conditions
11 .\" 1. Redistributions of source code must retain the above copyright
12 .\" notice, this list of conditions and the following disclaimer.
13 .\" 2. Redistributions in binary form must reproduce the above copyright
14 .\" notice, this list of conditions and the following disclaimer in the
15 .\" documentation and/or other materials provided with the distribution.
16 .\" 3. The name of the Author may not be used to endorse or promote
17 .\" products derived from this software without specific prior written
20 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND
21 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE
24 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
47 .Nd curses window modification routines
53 .Fn touchline "WINDOW *win" "int start" "int count"
55 .Fn touchoverlap "WINDOW *win1" "WINDOW *win2"
57 .Fn touchwin "WINDOW *win"
59 .Fn untouchwin "WINDOW *win"
61 .Fn wtouchln "WINDOW *win" "int line" "int n" "boolf changed"
63 .Fn is_linetouched "WINDOW *win" "int line"
65 .Fn is_wintouched "WINDOW *win"
67 .Fn redrawwin "WINDOW *win"
69 .Fn wredrawln "WINDOW *win" "int line" "int n"
71 These functions mark lines and windows as modified and check the modification
72 status of lines and windows.
82 as having been modified.
83 These characters will be synced to the terminal on the next call to
88 function marks the portion of
96 function marks the entire window
98 as having been modified.
102 function marks the window
104 as being unmodified, so that any changes made to that window will
105 not be synced to the terminal during a
110 function performs one of two operations on
117 is 1 then the given line range is marked as being modified, if
119 is 0 then the given line range is set to being unmodified.
129 has been modified since the last refresh was done, otherwise
138 has been modified since the last refresh, otherwise
144 function marks the entire window
146 as having been corrupted.
147 Is is equivalent to the
157 in the given window as corrupted.
159 .Fn wtouchln win line n 1 .
161 Functions returning pointers will return
163 if an error is detected.
164 The functions that return an int will return one of the following
167 .Bl -tag -width ERR -compact
169 The function completed successfully.
171 An error occurred in the function.
178 Curses library complies with the X/Open Curses specification, part of the
179 Single Unix Specification.
181 The Curses package appeared in