X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fbuttons.h;h=255c82436d4f497709c88c3e6ed770cec052037f;hb=65e73b3607d8d4aef09abaf1f44d090197953f21;hp=f555dd39511590c3a33efcf82cb08e1b88d5c4d0;hpb=f6ba86f49b8d92a6cb8d06b42e580195d09b8183;p=rocksndiamonds.git diff --git a/src/buttons.h b/src/buttons.h index f555dd39..255c8243 100644 --- a/src/buttons.h +++ b/src/buttons.h @@ -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