aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKim F. Storm2004-03-11 11:17:27 +0000
committerKim F. Storm2004-03-11 11:17:27 +0000
commitd9a4b477b071107dc3b8836cefe107b456e525e0 (patch)
treeb134f2b41490f01ce591831f63d0fe1f5a08d073 /src
parentd3ab1cf1fc01809d77170f88b393ec38afa57089 (diff)
downloademacs-d9a4b477b071107dc3b8836cefe107b456e525e0.tar.gz
emacs-d9a4b477b071107dc3b8836cefe107b456e525e0.zip
Move image related prototypes from xfns.c section to image.c.
Condition them by HAVE_WINDOW_SYSTEM rather than HAVE_X_WINDOWS.
Diffstat (limited to 'src')
-rw-r--r--src/dispextern.h35
1 files changed, 19 insertions, 16 deletions
diff --git a/src/dispextern.h b/src/dispextern.h
index 8eabbe34a7a..0fb58d4a1d1 100644
--- a/src/dispextern.h
+++ b/src/dispextern.h
@@ -2597,6 +2597,8 @@ void w32_reset_fringes P_ ((void));
2597 2597
2598/* Defined in image.c */ 2598/* Defined in image.c */
2599 2599
2600#ifdef HAVE_WINDOW_SYSTEM
2601
2600extern int x_bitmap_height P_ ((struct frame *, int)); 2602extern int x_bitmap_height P_ ((struct frame *, int));
2601extern int x_bitmap_width P_ ((struct frame *, int)); 2603extern int x_bitmap_width P_ ((struct frame *, int));
2602extern int x_bitmap_pixmap P_ ((struct frame *, int)); 2604extern int x_bitmap_pixmap P_ ((struct frame *, int));
@@ -2610,6 +2612,23 @@ extern void x_destroy_bitmap P_ ((struct frame *, int));
2610extern void x_destroy_all_bitmaps P_ ((Display_Info *)); 2612extern void x_destroy_all_bitmaps P_ ((Display_Info *));
2611extern int x_create_bitmap_mask P_ ((struct frame * , int)); 2613extern int x_create_bitmap_mask P_ ((struct frame * , int));
2612 2614
2615void x_kill_gs_process P_ ((Pixmap, struct frame *));
2616struct image_cache *make_image_cache P_ ((void));
2617void free_image_cache P_ ((struct frame *));
2618void clear_image_cache P_ ((struct frame *, int));
2619void forall_images_in_image_cache P_ ((struct frame *,
2620 void (*) P_ ((struct image *))));
2621int valid_image_p P_ ((Lisp_Object));
2622void prepare_image_for_display P_ ((struct frame *, struct image *));
2623int lookup_image P_ ((struct frame *, Lisp_Object));
2624
2625unsigned long image_background P_ ((struct image *, struct frame *,
2626 XImage *ximg));
2627int image_background_transparent P_ ((struct image *, struct frame *,
2628 XImage *mask));
2629
2630#endif
2631
2613/* Defined in sysdep.c */ 2632/* Defined in sysdep.c */
2614 2633
2615void get_frame_size P_ ((int *, int *)); 2634void get_frame_size P_ ((int *, int *));
@@ -2668,24 +2687,8 @@ void gamma_correct P_ ((struct frame *, unsigned long *));
2668 2687
2669#ifdef HAVE_WINDOW_SYSTEM 2688#ifdef HAVE_WINDOW_SYSTEM
2670 2689
2671void x_kill_gs_process P_ ((Pixmap, struct frame *));
2672int x_screen_planes P_ ((struct frame *)); 2690int x_screen_planes P_ ((struct frame *));
2673void x_implicitly_set_name P_ ((struct frame *, Lisp_Object, Lisp_Object)); 2691void x_implicitly_set_name P_ ((struct frame *, Lisp_Object, Lisp_Object));
2674struct image_cache *make_image_cache P_ ((void));
2675void free_image_cache P_ ((struct frame *));
2676void clear_image_cache P_ ((struct frame *, int));
2677void forall_images_in_image_cache P_ ((struct frame *,
2678 void (*) P_ ((struct image *))));
2679int valid_image_p P_ ((Lisp_Object));
2680void prepare_image_for_display P_ ((struct frame *, struct image *));
2681int lookup_image P_ ((struct frame *, Lisp_Object));
2682
2683#ifdef HAVE_X_WINDOWS
2684unsigned long image_background P_ ((struct image *, struct frame *,
2685 XImage *ximg));
2686int image_background_transparent P_ ((struct image *, struct frame *,
2687 XImage *mask));
2688#endif /* HAVE_X_WINDOWS */
2689 2692
2690extern Lisp_Object tip_frame; 2693extern Lisp_Object tip_frame;
2691extern Window tip_window; 2694extern Window tip_window;