rnd-19981217-2
[rocksndiamonds.git] / src / buttons.h
index f555dd39511590c3a33efcf82cb08e1b88d5c4d0..255c82436d4f497709c88c3e6ed770cec052037f 100644 (file)
@@ -287,7 +287,6 @@ int CheckCountButtons(int, int, int);
 #define GD_EVENT_RELEASED              (1<<1)
 #define GD_EVENT_MOVING                        (1<<2)
 #define GD_EVENT_REPEATED              (1<<3)
-#define GD_EVENT_PRESSED_REPEATED      (GD_EVENT_PRESSED | GD_EVENT_REPEATED)
 
 /* gadget button states */
 #define GD_BUTTON_UNPRESSED            0
@@ -331,6 +330,7 @@ struct GadgetEvent
   unsigned long type;                  /* event type */
   int button;                          /* button number for button events */
   int x, y;                            /* gadget position at event time */
+  boolean off_borders;                 /* mouse pointer outside gadget? */
 };
 
 struct GadgetDrawingArea