x_default_parameter (f, parms, Qmenu_bar_lines, make_number (1),
"menuBar", "MenuBar", RES_TYPE_NUMBER);
-#ifdef HAVE_IMAGES
x_default_parameter (f, parms, Qtool_bar_lines, make_number (1),
"toolBar", "ToolBar", RES_TYPE_NUMBER);
-#else
- x_default_parameter (f, parms, Qtool_bar_lines, make_number (0),
- "toolBar", "ToolBar", RES_TYPE_NUMBER);
-#endif
+
x_default_parameter (f, parms, Qbuffer_predicate, Qnil,
"bufferPredicate", "BufferPredicate", RES_TYPE_SYMBOL);
x_default_parameter (f, parms, Qtitle, Qnil,
}
-#ifdef HAVE_IMAGES
DEFUN ("image-size", Fimage_size, Simage_size, 1, 3, 0,
doc: /* Return the size of image SPEC as pair (WIDTH . HEIGHT).
PIXELS non-nil means return the size in pixels, otherwise return the
return mask;
}
-#endif
\f
/***********************************************************************
#endif /* TODO */
\f
-#ifdef HAVE_IMAGES /* TODO */
/***********************************************************************
Algorithms
***********************************************************************/
return 0;
#endif
}
-#endif
\f
/***********************************************************************
PBM (mono, gray, color)
***********************************************************************/
-#ifdef HAVE_PBM
static int pbm_image_p P_ ((Lisp_Object object));
static int pbm_load P_ ((struct frame *f, struct image *img));
xfree (contents);
return 1;
}
-#endif /* HAVE_PBM */
\f
/***********************************************************************
set_frame_fontset_func = x_set_font;
check_window_system_func = check_w32;
-#ifdef IMAGES
/* Images. */
Qxbm = intern ("xbm");
staticpro (&Qxbm);
staticpro (&QCindex);
Qpbm = intern ("pbm");
staticpro (&Qpbm);
-#endif
#if HAVE_XPM
Qxpm = intern ("xpm");
staticpro (&Qpng);
#endif
-#ifdef HAVE_IMAGES
defsubr (&Sclear_image_cache);
defsubr (&Simage_size);
defsubr (&Simage_mask_p);
-#endif
#if GLYPH_DEBUG
defsubr (&Simagep);
image_types = NULL;
Vimage_types = Qnil;
-#if HAVE_PBM
define_image_type (&pbm_type);
-#endif
#if 0 /* TODO : Image support for W32 */
define_image_type (&xbm_type);
#if HAVE_TIFF
define_image_type (&tiff_type);
#endif
-
+
#if HAVE_GIF
define_image_type (&gif_type);
#endif