+#if defined(HAVE_INLINE)
+INLINE const Palette* GetBitmapPalette (const Bitmap* B)
+/* Get the palette of a bitmap */
+{
+ return B->Pal;
+}
+#else
+# define GetBitmapPalette(B) ((B)->Pal)
+#endif
+
+#if defined(HAVE_INLINE)
+INLINE const StrBuf* GetBitmapName (const Bitmap* B)
+/* Get the name of a bitmap */
+{
+ return &B->Name;
+}
+#else
+# define GetBitmapName(B) (&(B)->Name)
+#endif
+
+#if defined(HAVE_INLINE)
+INLINE unsigned GetBitmapColors (const Bitmap* B)