1 .\" $NetBSD: curses_touch.3,v 1.8 2010/02/24 13:02:13 drochner 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
49 .Nd curses window modification routines
55 .Fn touchline "WINDOW *win" "int start" "int count"
57 .Fn touchoverlap "WINDOW *win1" "WINDOW *win2"
59 .Fn touchwin "WINDOW *win"
61 .Fn untouchwin "WINDOW *win"
63 .Fn wtouchln "WINDOW *win" "int line" "int n" "boolf changed"
65 .Fn is_linetouched "WINDOW *win" "int line"
67 .Fn is_wintouched "WINDOW *win"
69 .Fn redrawwin "WINDOW *win"
71 .Fn wredrawln "WINDOW *win" "int line" "int n"
73 .Fn wsyncup "WINDOW *win"
75 .Fn wsyncdown "WINDOW *win"
77 These functions mark lines and windows as modified and check the modification
78 status of lines and windows.
88 as having been modified.
89 These characters will be synced to the terminal on the next call to
94 function marks the portion of
102 function marks the entire window
104 as having been modified.
108 function marks the window
110 as being unmodified, so that any changes made to that window will
111 not be synced to the terminal during a
116 function performs one of two operations on
123 is 1 then the given line range is marked as being modified, if
125 is 0 then the given line range is set to being unmodified.
135 has been modified since the last refresh was done, otherwise
144 has been modified since the last refresh, otherwise
150 function marks the entire window
152 as having been corrupted.
153 Is is equivalent to the
163 in the given window as corrupted.
165 .Fn wtouchln win line n 1 .
169 function touches all ancestors of
176 if any of its ancestors is touched.
178 Functions returning pointers will return
180 if an error is detected.
181 The functions that return an int will return one of the following
184 .Bl -tag -width ERR -compact
186 The function completed successfully.
188 An error occurred in the function.
195 Curses library complies with the X/Open Curses specification, part of the
196 Single Unix Specification.
198 The Curses package appeared in