#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
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