X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fgadgets.h;h=11a8578b854239bbf8a7280d0ab9c9b251af7f38;hb=696d50b659131ba46ea7f4c44ca4d29475e8cb4f;hp=eae5e49003e7e562017c9355cc887a1c2b25bfcc;hpb=ff56a43aa3799aa3357f4deca4d6482fc25a6a41;p=rocksndiamonds.git diff --git a/src/libgame/gadgets.h b/src/libgame/gadgets.h index eae5e490..11a8578b 100644 --- a/src/libgame/gadgets.h +++ b/src/libgame/gadgets.h @@ -1,7 +1,7 @@ /*********************************************************** * Artsoft Retro-Game Library * *----------------------------------------------------------* -* (c) 1994-2000 Artsoft Entertainment * +* (c) 1994-2001 Artsoft Entertainment * * Holger Schemel * * Detmolder Strasse 189 * * 33604 Bielefeld * @@ -45,6 +45,8 @@ #define GD_EVENT_OFF_BORDERS (1 << 4) #define GD_EVENT_TEXT_RETURN (1 << 5) #define GD_EVENT_TEXT_LEAVING (1 << 6) +#define GD_EVENT_INFO_ENTERING (1 << 7) +#define GD_EVENT_INFO_LEAVING (1 << 8) /* gadget button states */ #define GD_BUTTON_UNPRESSED 0 @@ -103,7 +105,7 @@ struct GadgetBorder struct GadgetDesign { - Bitmap bitmap; /* Bitmap with gadget surface */ + Bitmap *bitmap; /* Bitmap with gadget surface */ int x, y; /* position of rectangle in Bitmap */ };