aboutsummaryrefslogtreecommitdiffstats
path: root/src/term.c
diff options
context:
space:
mode:
authorJim Blandy1993-03-02 08:22:42 +0000
committerJim Blandy1993-03-02 08:22:42 +0000
commita3c87d4e63e999a3ed18efe60d6b36da3a48a314 (patch)
treed50ead7aaf06c70c637c1136cc042b9c95a8ec60 /src/term.c
parentab6482702d926eb46472bbdb4de59d4ad8265316 (diff)
downloademacs-a3c87d4e63e999a3ed18efe60d6b36da3a48a314.tar.gz
emacs-a3c87d4e63e999a3ed18efe60d6b36da3a48a314.zip
Use the term `scroll bar', instead of `scrollbar'.
* alloc.c, frame.c, frame.h, indent.c, keyboard.c, keyboard.h, lisp.h, term.c, termhooks.h, window.c, window.h, xdisp.c, xfns.c, xterm.c, xterm.h: Terminology changed.
Diffstat (limited to 'src/term.c')
-rw-r--r--src/term.c60
1 files changed, 30 insertions, 30 deletions
diff --git a/src/term.c b/src/term.c
index cd9e5a84a44..3019d63f22b 100644
--- a/src/term.c
+++ b/src/term.c
@@ -99,10 +99,10 @@ int (*read_socket_hook) ();
99 Emacs frame. If it is set to zero, all the other arguments are 99 Emacs frame. If it is set to zero, all the other arguments are
100 garbage. 100 garbage.
101 101
102 If the motion started in a scrollbar, set *bar_window to the 102 If the motion started in a scroll bar, set *bar_window to the
103 scrollbar's window, *part to the part the mouse is currently over, 103 scroll bar's window, *part to the part the mouse is currently over,
104 *x to the position of the mouse along the scrollbar, and *y to the 104 *x to the position of the mouse along the scroll bar, and *y to the
105 overall length of the scrollbar. 105 overall length of the scroll bar.
106 106
107 Otherwise, set *bar_window to Qnil, and *x and *y to the column and 107 Otherwise, set *bar_window to Qnil, and *x and *y to the column and
108 row of the character cell the mouse is over. 108 row of the character cell the mouse is over.
@@ -113,7 +113,7 @@ int (*read_socket_hook) ();
113 event arrives. */ 113 event arrives. */
114void (*mouse_position_hook) ( /* FRAME_PTR *f, 114void (*mouse_position_hook) ( /* FRAME_PTR *f,
115 Lisp_Object *bar_window, 115 Lisp_Object *bar_window,
116 enum scrollbar_part *part, 116 enum scroll_bar_part *part,
117 Lisp_Object *x, 117 Lisp_Object *x,
118 Lisp_Object *y, 118 Lisp_Object *y,
119 unsigned long *time */ ); 119 unsigned long *time */ );
@@ -137,54 +137,54 @@ void (*frame_rehighlight_hook) ( /* FRAME_PTR f */ );
137 windows. */ 137 windows. */
138void (*frame_raise_lower_hook) ( /* FRAME_PTR f, int raise */ ); 138void (*frame_raise_lower_hook) ( /* FRAME_PTR f, int raise */ );
139 139
140/* Set the vertical scrollbar for WINDOW to have its upper left corner 140/* Set the vertical scroll bar for WINDOW to have its upper left corner
141 at (TOP, LEFT), and be LENGTH rows high. Set its handle to 141 at (TOP, LEFT), and be LENGTH rows high. Set its handle to
142 indicate that we are displaying PORTION characters out of a total 142 indicate that we are displaying PORTION characters out of a total
143 of WHOLE characters, starting at POSITION. If WINDOW doesn't yet 143 of WHOLE characters, starting at POSITION. If WINDOW doesn't yet
144 have a scrollbar, create one for it. */ 144 have a scroll bar, create one for it. */
145void (*set_vertical_scrollbar_hook) 145void (*set_vertical_scroll_bar_hook)
146 ( /* struct window *window, 146 ( /* struct window *window,
147 int portion, int whole, int position */ ); 147 int portion, int whole, int position */ );
148 148
149 149
150/* The following three hooks are used when we're doing a thorough 150/* The following three hooks are used when we're doing a thorough
151 redisplay of the frame. We don't explicitly know which scrollbars 151 redisplay of the frame. We don't explicitly know which scroll bars
152 are going to be deleted, because keeping track of when windows go 152 are going to be deleted, because keeping track of when windows go
153 away is a real pain - can you say set-window-configuration? 153 away is a real pain - can you say set-window-configuration?
154 Instead, we just assert at the beginning of redisplay that *all* 154 Instead, we just assert at the beginning of redisplay that *all*
155 scrollbars are to be removed, and then save scrollbars from the 155 scroll bars are to be removed, and then save scroll bars from the
156 firey pit when we actually redisplay their window. */ 156 firey pit when we actually redisplay their window. */
157 157
158/* Arrange for all scrollbars on FRAME to be removed at the next call 158/* Arrange for all scroll bars on FRAME to be removed at the next call
159 to `*judge_scrollbars_hook'. A scrollbar may be spared if 159 to `*judge_scroll_bars_hook'. A scroll bar may be spared if
160 `*redeem_scrollbar_hook' is applied to its window before the judgement. 160 `*redeem_scroll_bar_hook' is applied to its window before the judgement.
161 161
162 This should be applied to each frame each time its window tree is 162 This should be applied to each frame each time its window tree is
163 redisplayed, even if it is not displaying scrollbars at the moment; 163 redisplayed, even if it is not displaying scroll bars at the moment;
164 if the HAS_SCROLLBARS flag has just been turned off, only calling 164 if the HAS_SCROLL_BARS flag has just been turned off, only calling
165 this and the judge_scrollbars_hook will get rid of them. 165 this and the judge_scroll_bars_hook will get rid of them.
166 166
167 If non-zero, this hook should be safe to apply to any frame, 167 If non-zero, this hook should be safe to apply to any frame,
168 whether or not it can support scrollbars, and whether or not it is 168 whether or not it can support scroll bars, and whether or not it is
169 currently displaying them. */ 169 currently displaying them. */
170void (*condemn_scrollbars_hook)( /* FRAME_PTR *frame */ ); 170void (*condemn_scroll_bars_hook)( /* FRAME_PTR *frame */ );
171 171
172/* Unmark WINDOW's scrollbar for deletion in this judgement cycle. 172/* Unmark WINDOW's scroll bar for deletion in this judgement cycle.
173 Note that it's okay to redeem a scrollbar that is not condemned. */ 173 Note that it's okay to redeem a scroll bar that is not condemned. */
174void (*redeem_scrollbar_hook)( /* struct window *window */ ); 174void (*redeem_scroll_bar_hook)( /* struct window *window */ );
175 175
176/* Remove all scrollbars on FRAME that haven't been saved since the 176/* Remove all scroll bars on FRAME that haven't been saved since the
177 last call to `*condemn_scrollbars_hook'. 177 last call to `*condemn_scroll_bars_hook'.
178 178
179 This should be applied to each frame after each time its window 179 This should be applied to each frame after each time its window
180 tree is redisplayed, even if it is not displaying scrollbars at the 180 tree is redisplayed, even if it is not displaying scroll bars at the
181 moment; if the HAS_SCROLLBARS flag has just been turned off, only 181 moment; if the HAS_SCROLL_BARS flag has just been turned off, only
182 calling this and condemn_scrollbars_hook will get rid of them. 182 calling this and condemn_scroll_bars_hook will get rid of them.
183 183
184 If non-zero, this hook should be safe to apply to any frame, 184 If non-zero, this hook should be safe to apply to any frame,
185 whether or not it can support scrollbars, and whether or not it is 185 whether or not it can support scroll bars, and whether or not it is
186 currently displaying them. */ 186 currently displaying them. */
187void (*judge_scrollbars_hook)( /* FRAME_PTR *FRAME */ ); 187void (*judge_scroll_bars_hook)( /* FRAME_PTR *FRAME */ );
188 188
189 189
190/* Strings, numbers and flags taken from the termcap entry. */ 190/* Strings, numbers and flags taken from the termcap entry. */
@@ -1495,8 +1495,8 @@ It may be necessary to do `unsetenv TERMCAP' as well.\n",
1495 /* meaningless in this case */ 1495 /* meaningless in this case */
1496 baud_rate = 9600; 1496 baud_rate = 9600;
1497 1497
1498 FRAME_CAN_HAVE_SCROLLBARS (selected_frame) = 0; 1498 FRAME_CAN_HAVE_SCROLL_BARS (selected_frame) = 0;
1499 FRAME_HAS_VERTICAL_SCROLLBARS (selected_frame) = 0; 1499 FRAME_HAS_VERTICAL_SCROLL_BARS (selected_frame) = 0;
1500} 1500}
1501 1501
1502/* VARARGS 1 */ 1502/* VARARGS 1 */