(x_draw_relief_rect): Add top_p and bot_p args.
[bpt/emacs.git] / src / termhooks.h
index e2e5157..83721f6 100644 (file)
@@ -1,6 +1,6 @@
 /* Hooks by which low level terminal operations
    can be made to call other routines.
-   Copyright (C) 1985, 1986, 1993, 1994 Free Software Foundation, Inc.
+   Copyright (C) 1985,86,93,94,2003  Free Software Foundation, Inc.
 
 This file is part of GNU Emacs.
 
@@ -252,25 +252,6 @@ enum event_kind
                                   the wheel event occurred in.
                                   .timestamp gives a timestamp (in
                                   milliseconds) for the event.  */
-#if defined(MAC_OSX)
-  MOUSE_WHEEL_EVENT,           /* A mouse-wheel event is generated on
-                                  MAC_OSX by a wheel on a mouse
-                                  (e.g., MS Intellimouse).  The event
-                                  contains a delta that corresponds
-                                  to the amount and direction that
-                                  the wheel is rotated.  This delta
-                                  is typically used to implement a
-                                  scroll or zoom.
-                                  .code gives the delta.
-                                  .modifiers holds the state of the
-                                  modifier keys.
-                                  .x and .y give the mouse position,
-                                  in characters, within the window.
-                                  .frame_or_window gives the frame
-                                  the wheel event occurred in.
-                                  .timestamp gives a timestamp (in
-                                  milliseconds) for the wheel event.  */
-#endif
 #ifdef WINDOWSNT
   LANGUAGE_CHANGE_EVENT,       /* A LANGUAGE_CHANGE_EVENT is generated
                                   on WINDOWSNT when the keyboard layout
@@ -390,8 +371,10 @@ struct input_event
   Lisp_Object arg;
 };
 
+#define EVENT_INIT(event) bzero (&(event), sizeof (struct input_event))
+
 /* Called to read input events.  */
-extern int (*read_socket_hook) P_ ((int, struct input_event *, int, int));
+extern int (*read_socket_hook) P_ ((int, int, struct input_event *));
 
 /* Called when a frame's display becomes entirely up to date.  */
 extern void (*frame_up_to_date_hook) P_ ((struct frame *));
@@ -447,3 +430,6 @@ enum {
 };
 
 #endif
+
+/* arch-tag: 33a00ecc-52b5-4186-a410-8801ac9f087d
+   (do not change this comment) */