162 |
|
|
163 |
/* Arrange for all scroll bars on FRAME to be removed at the next call |
/* Arrange for all scroll bars on FRAME to be removed at the next call |
164 |
to `*judge_scroll_bars_hook'. A scroll bar may be spared if |
to `*judge_scroll_bars_hook'. A scroll bar may be spared if |
165 |
`*redeem_scroll_bar_hook' is applied to its window before the judgement. |
`*redeem_scroll_bar_hook' is applied to its window before the judgement. |
166 |
|
|
167 |
This should be applied to each frame each time its window tree is |
This should be applied to each frame each time its window tree is |
168 |
redisplayed, even if it is not displaying scroll bars at the moment; |
redisplayed, even if it is not displaying scroll bars at the moment; |
179 |
extern void (*redeem_scroll_bar_hook) P_ ((struct window *window)); |
extern void (*redeem_scroll_bar_hook) P_ ((struct window *window)); |
180 |
|
|
181 |
/* Remove all scroll bars on FRAME that haven't been saved since the |
/* Remove all scroll bars on FRAME that haven't been saved since the |
182 |
last call to `*condemn_scroll_bars_hook'. |
last call to `*condemn_scroll_bars_hook'. |
183 |
|
|
184 |
This should be applied to each frame after each time its window |
This should be applied to each frame after each time its window |
185 |
tree is redisplayed, even if it is not displaying scroll bars at the |
tree is redisplayed, even if it is not displaying scroll bars at the |
241 |
.timestamp gives a timestamp (in |
.timestamp gives a timestamp (in |
242 |
milliseconds) for the click. */ |
milliseconds) for the click. */ |
243 |
#if defined(WINDOWSNT) || defined(MAC_OSX) |
#if defined(WINDOWSNT) || defined(MAC_OSX) |
244 |
MOUSE_WHEEL_EVENT, /* A mouse-wheel event is generated |
MOUSE_WHEEL_EVENT, /* A mouse-wheel event is generated |
245 |
on WINDOWSNT or MAC_OSX by a |
on WINDOWSNT or MAC_OSX by a |
246 |
wheel on a mouse (e.g., MS Intellimouse). |
wheel on a mouse (e.g., MS Intellimouse). |
247 |
The event contains a delta that corresponds |
The event contains a delta that corresponds |
248 |
to the amount and direction that the wheel |
to the amount and direction that the wheel |
298 |
files selected outside of Emacs are dropped |
files selected outside of Emacs are dropped |
299 |
onto an Emacs window. |
onto an Emacs window. |
300 |
Currently used only on Windows NT. |
Currently used only on Windows NT. |
301 |
.modifiers holds the state of the |
.modifiers holds the state of the |
302 |
modifier keys. |
modifier keys. |
303 |
.x and .y give the mouse position, |
.x and .y give the mouse position, |
304 |
in characters, within the window. |
in characters, within the window. |
346 |
{ |
{ |
347 |
/* What kind of event was this? */ |
/* What kind of event was this? */ |
348 |
enum event_kind kind; |
enum event_kind kind; |
349 |
|
|
350 |
/* For an ASCII_KEYSTROKE_EVENT and MULTIBYTE_CHAR_KEYSTROKE_EVENT, |
/* For an ASCII_KEYSTROKE_EVENT and MULTIBYTE_CHAR_KEYSTROKE_EVENT, |
351 |
this is the character. |
this is the character. |
352 |
For a NON_ASCII_KEYSTROKE_EVENT, this is the keysym code. |
For a NON_ASCII_KEYSTROKE_EVENT, this is the keysym code. |
386 |
|
|
387 |
/* Bits in the modifiers member of the input_event structure. |
/* Bits in the modifiers member of the input_event structure. |
388 |
Note that reorder_modifiers assumes that the bits are in canonical |
Note that reorder_modifiers assumes that the bits are in canonical |
389 |
order. |
order. |
390 |
|
|
391 |
The modifiers applied to mouse clicks are rather ornate. The |
The modifiers applied to mouse clicks are rather ornate. The |
392 |
window-system-specific code should store mouse clicks with |
window-system-specific code should store mouse clicks with |