Mercurial > emacs
comparison src/termhooks.h @ 15176:87c0298bd4f7
(enum scroll_bar_part): New alternatives
scroll_bar_up_arrow, scroll_bar_down_arrow.
(win32_scroll_bar_click): New enum constant.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 07 May 1996 00:03:53 +0000 |
parents | 78c37f6d697b |
children | b163c199496b |
comparison
equal
deleted
inserted
replaced
15175:bd6c4ed55f9c | 15176:87c0298bd4f7 |
---|---|
57 /* Multi-frame and mouse support hooks. */ | 57 /* Multi-frame and mouse support hooks. */ |
58 | 58 |
59 enum scroll_bar_part { | 59 enum scroll_bar_part { |
60 scroll_bar_above_handle, | 60 scroll_bar_above_handle, |
61 scroll_bar_handle, | 61 scroll_bar_handle, |
62 scroll_bar_below_handle | 62 scroll_bar_below_handle, |
63 scroll_bar_up_arrow, | |
64 scroll_bar_down_arrow, | |
63 }; | 65 }; |
64 | 66 |
65 /* Return the current position of the mouse. | 67 /* Return the current position of the mouse. |
66 | 68 |
67 Set *f to the frame the mouse is in, or zero if the mouse is in no | 69 Set *f to the frame the mouse is in, or zero if the mouse is in no |
243 length of the scroll bar. | 245 length of the scroll bar. |
244 .frame_or_window gives the window | 246 .frame_or_window gives the window |
245 whose scroll bar was clicked in. | 247 whose scroll bar was clicked in. |
246 .timestamp gives a timestamp (in | 248 .timestamp gives a timestamp (in |
247 milliseconds) for the click. */ | 249 milliseconds) for the click. */ |
250 #ifdef WINDOWSNT | |
251 win32_scroll_bar_click, /* as for scroll_bar_click, but only generated | |
252 by MS-Windows scroll bar controls. */ | |
253 #endif | |
248 selection_request_event, /* Another X client wants a selection from us. | 254 selection_request_event, /* Another X client wants a selection from us. |
249 See `struct selection_event'. */ | 255 See `struct selection_event'. */ |
250 selection_clear_event, /* Another X client cleared our selection. */ | 256 selection_clear_event, /* Another X client cleared our selection. */ |
251 buffer_switch_event, /* A process filter has switched buffers. */ | 257 buffer_switch_event, /* A process filter has switched buffers. */ |
252 delete_window_event, /* An X client said "delete this window". */ | 258 delete_window_event, /* An X client said "delete this window". */ |