X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fbuttons.h;h=bafbd2a2d8400ff0516e8b173a0cba6d08aa77f5;hb=5ed4de42ced8e7dce5b786ba3d5fd1a6f6a7d7f6;hp=f555dd39511590c3a33efcf82cb08e1b88d5c4d0;hpb=f6ba86f49b8d92a6cb8d06b42e580195d09b8183;p=rocksndiamonds.git diff --git a/src/buttons.h b/src/buttons.h index f555dd39..bafbd2a2 100644 --- a/src/buttons.h +++ b/src/buttons.h @@ -287,7 +287,7 @@ 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) +#define GD_EVENT_OFF_BORDERS (1<<4) /* gadget button states */ #define GD_BUTTON_UNPRESSED 0 @@ -331,6 +331,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