X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fgadgets.h;h=783e454f0a23f58bbe8a7ef30e2574dafd528957;hb=ff2510f5098b545a03965c6b95296eec6885a4fb;hp=eae5e49003e7e562017c9355cc887a1c2b25bfcc;hpb=ff56a43aa3799aa3357f4deca4d6482fc25a6a41;p=rocksndiamonds.git diff --git a/src/libgame/gadgets.h b/src/libgame/gadgets.h index eae5e490..783e454f 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-2002 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 */ };