rnd-20020430-3-src
[rocksndiamonds.git] / src / libgame / gadgets.h
index eae5e49003e7e562017c9355cc887a1c2b25bfcc..11a8578b854239bbf8a7280d0ab9c9b251af7f38 100644 (file)
@@ -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 */
 };