]> git.eshelyaron.com Git - emacs.git/commitdiff
(enum scroll_bar_part): New alternatives
authorRichard M. Stallman <rms@gnu.org>
Tue, 7 May 1996 00:03:53 +0000 (00:03 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 7 May 1996 00:03:53 +0000 (00:03 +0000)
scroll_bar_up_arrow, scroll_bar_down_arrow.
(win32_scroll_bar_click): New enum constant.

src/termhooks.h

index bd1fdc369e5d81fdfe13b1cc9fac143fb88f087a..4e33fbe9d4480a48f579592354adbf1912427b06 100644 (file)
@@ -59,7 +59,9 @@ extern int (*set_terminal_window_hook) ();
 enum scroll_bar_part {
   scroll_bar_above_handle,
   scroll_bar_handle,
-  scroll_bar_below_handle
+  scroll_bar_below_handle,
+  scroll_bar_up_arrow,
+  scroll_bar_down_arrow,
 };
 
 /* Return the current position of the mouse.
@@ -245,6 +247,10 @@ enum event_kind
                                   whose scroll bar was clicked in.
                                   .timestamp gives a timestamp (in
                                   milliseconds) for the click.  */
+#ifdef WINDOWSNT
+  win32_scroll_bar_click,      /* as for scroll_bar_click, but only generated
+                                  by MS-Windows scroll bar controls. */
+#endif
   selection_request_event,     /* Another X client wants a selection from us.
                                   See `struct selection_event'.  */
   selection_clear_event,       /* Another X client cleared our selection.  */