diff options
| author | Kim F. Storm | 2004-03-11 11:17:27 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2004-03-11 11:17:27 +0000 |
| commit | d9a4b477b071107dc3b8836cefe107b456e525e0 (patch) | |
| tree | b134f2b41490f01ce591831f63d0fe1f5a08d073 /src | |
| parent | d3ab1cf1fc01809d77170f88b393ec38afa57089 (diff) | |
| download | emacs-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.h | 35 |
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 | |||
| 2600 | extern int x_bitmap_height P_ ((struct frame *, int)); | 2602 | extern int x_bitmap_height P_ ((struct frame *, int)); |
| 2601 | extern int x_bitmap_width P_ ((struct frame *, int)); | 2603 | extern int x_bitmap_width P_ ((struct frame *, int)); |
| 2602 | extern int x_bitmap_pixmap P_ ((struct frame *, int)); | 2604 | extern int x_bitmap_pixmap P_ ((struct frame *, int)); |
| @@ -2610,6 +2612,23 @@ extern void x_destroy_bitmap P_ ((struct frame *, int)); | |||
| 2610 | extern void x_destroy_all_bitmaps P_ ((Display_Info *)); | 2612 | extern void x_destroy_all_bitmaps P_ ((Display_Info *)); |
| 2611 | extern int x_create_bitmap_mask P_ ((struct frame * , int)); | 2613 | extern int x_create_bitmap_mask P_ ((struct frame * , int)); |
| 2612 | 2614 | ||
| 2615 | void x_kill_gs_process P_ ((Pixmap, struct frame *)); | ||
| 2616 | struct image_cache *make_image_cache P_ ((void)); | ||
| 2617 | void free_image_cache P_ ((struct frame *)); | ||
| 2618 | void clear_image_cache P_ ((struct frame *, int)); | ||
| 2619 | void forall_images_in_image_cache P_ ((struct frame *, | ||
| 2620 | void (*) P_ ((struct image *)))); | ||
| 2621 | int valid_image_p P_ ((Lisp_Object)); | ||
| 2622 | void prepare_image_for_display P_ ((struct frame *, struct image *)); | ||
| 2623 | int lookup_image P_ ((struct frame *, Lisp_Object)); | ||
| 2624 | |||
| 2625 | unsigned long image_background P_ ((struct image *, struct frame *, | ||
| 2626 | XImage *ximg)); | ||
| 2627 | int 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 | ||
| 2615 | void get_frame_size P_ ((int *, int *)); | 2634 | void 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 | ||
| 2671 | void x_kill_gs_process P_ ((Pixmap, struct frame *)); | ||
| 2672 | int x_screen_planes P_ ((struct frame *)); | 2690 | int x_screen_planes P_ ((struct frame *)); |
| 2673 | void x_implicitly_set_name P_ ((struct frame *, Lisp_Object, Lisp_Object)); | 2691 | void x_implicitly_set_name P_ ((struct frame *, Lisp_Object, Lisp_Object)); |
| 2674 | struct image_cache *make_image_cache P_ ((void)); | ||
| 2675 | void free_image_cache P_ ((struct frame *)); | ||
| 2676 | void clear_image_cache P_ ((struct frame *, int)); | ||
| 2677 | void forall_images_in_image_cache P_ ((struct frame *, | ||
| 2678 | void (*) P_ ((struct image *)))); | ||
| 2679 | int valid_image_p P_ ((Lisp_Object)); | ||
| 2680 | void prepare_image_for_display P_ ((struct frame *, struct image *)); | ||
| 2681 | int lookup_image P_ ((struct frame *, Lisp_Object)); | ||
| 2682 | |||
| 2683 | #ifdef HAVE_X_WINDOWS | ||
| 2684 | unsigned long image_background P_ ((struct image *, struct frame *, | ||
| 2685 | XImage *ximg)); | ||
| 2686 | int image_background_transparent P_ ((struct image *, struct frame *, | ||
| 2687 | XImage *mask)); | ||
| 2688 | #endif /* HAVE_X_WINDOWS */ | ||
| 2689 | 2692 | ||
| 2690 | extern Lisp_Object tip_frame; | 2693 | extern Lisp_Object tip_frame; |
| 2691 | extern Window tip_window; | 2694 | extern Window tip_window; |