diff options
Diffstat (limited to 'src/dispextern.h')
| -rw-r--r-- | src/dispextern.h | 37 |
1 files changed, 5 insertions, 32 deletions
diff --git a/src/dispextern.h b/src/dispextern.h index fd474dc6ae5..840a27ebc62 100644 --- a/src/dispextern.h +++ b/src/dispextern.h | |||
| @@ -1149,12 +1149,6 @@ extern int updated_area; | |||
| 1149 | 1149 | ||
| 1150 | extern int display_completed; | 1150 | extern int display_completed; |
| 1151 | 1151 | ||
| 1152 | /* A temporary storage area, including a row of glyphs. Initialized | ||
| 1153 | in xdisp.c. Used for various purposes, as an example see | ||
| 1154 | get_overlay_arrow_glyph_row. */ | ||
| 1155 | |||
| 1156 | extern struct glyph_row scratch_glyph_row; | ||
| 1157 | |||
| 1158 | 1152 | ||
| 1159 | 1153 | ||
| 1160 | /************************************************************************ | 1154 | /************************************************************************ |
| @@ -1739,9 +1733,12 @@ struct face_cache | |||
| 1739 | 1733 | ||
| 1740 | /* Non-zero if FACE is suitable for displaying character CHAR. */ | 1734 | /* Non-zero if FACE is suitable for displaying character CHAR. */ |
| 1741 | 1735 | ||
| 1736 | #define FACE_SUITABLE_FOR_ASCII_CHAR_P(FACE, CHAR) \ | ||
| 1737 | ((FACE) == (FACE)->ascii_face) | ||
| 1738 | |||
| 1742 | #define FACE_SUITABLE_FOR_CHAR_P(FACE, CHAR) \ | 1739 | #define FACE_SUITABLE_FOR_CHAR_P(FACE, CHAR) \ |
| 1743 | (ASCII_CHAR_P (CHAR) \ | 1740 | (ASCII_CHAR_P (CHAR) \ |
| 1744 | ? (FACE) == (FACE)->ascii_face \ | 1741 | ? FACE_SUITABLE_FOR_ASCII_CHAR_P(FACE) \ |
| 1745 | : face_suitable_for_char_p ((FACE), (CHAR))) | 1742 | : face_suitable_for_char_p ((FACE), (CHAR))) |
| 1746 | 1743 | ||
| 1747 | /* Return the id of the realized face on frame F that is like the face | 1744 | /* Return the id of the realized face on frame F that is like the face |
| @@ -2944,7 +2941,6 @@ enum tool_bar_item_image | |||
| 2944 | 2941 | ||
| 2945 | extern void bidi_init_it (EMACS_INT, EMACS_INT, struct bidi_it *); | 2942 | extern void bidi_init_it (EMACS_INT, EMACS_INT, struct bidi_it *); |
| 2946 | extern void bidi_move_to_visually_next (struct bidi_it *); | 2943 | extern void bidi_move_to_visually_next (struct bidi_it *); |
| 2947 | extern void bidi_dump_cached_states (void); | ||
| 2948 | extern void bidi_paragraph_init (bidi_dir_t, struct bidi_it *, int); | 2944 | extern void bidi_paragraph_init (bidi_dir_t, struct bidi_it *, int); |
| 2949 | extern int bidi_mirror_char (int); | 2945 | extern int bidi_mirror_char (int); |
| 2950 | 2946 | ||
| @@ -2966,24 +2962,17 @@ int window_box_left (struct window *, int); | |||
| 2966 | int window_box_left_offset (struct window *, int); | 2962 | int window_box_left_offset (struct window *, int); |
| 2967 | int window_box_right (struct window *, int); | 2963 | int window_box_right (struct window *, int); |
| 2968 | int window_box_right_offset (struct window *, int); | 2964 | int window_box_right_offset (struct window *, int); |
| 2969 | void window_box_edges (struct window *, int, int *, int *, int *, int *); | ||
| 2970 | int estimate_mode_line_height (struct frame *, enum face_id); | 2965 | int estimate_mode_line_height (struct frame *, enum face_id); |
| 2971 | void pixel_to_glyph_coords (struct frame *, int, int, int *, int *, | 2966 | void pixel_to_glyph_coords (struct frame *, int, int, int *, int *, |
| 2972 | NativeRectangle *, int); | 2967 | NativeRectangle *, int); |
| 2973 | int glyph_to_pixel_coords (struct window *, int, int, int *, int *); | ||
| 2974 | void remember_mouse_glyph (struct frame *, int, int, NativeRectangle *); | 2968 | void remember_mouse_glyph (struct frame *, int, int, NativeRectangle *); |
| 2975 | 2969 | ||
| 2976 | void mark_window_display_accurate (Lisp_Object, int); | 2970 | void mark_window_display_accurate (Lisp_Object, int); |
| 2977 | void redisplay_preserve_echo_area (int); | 2971 | void redisplay_preserve_echo_area (int); |
| 2978 | int set_cursor_from_row (struct window *, struct glyph_row *, | ||
| 2979 | struct glyph_matrix *, EMACS_INT, EMACS_INT, | ||
| 2980 | int, int); | ||
| 2981 | void init_iterator (struct it *, struct window *, EMACS_INT, | 2972 | void init_iterator (struct it *, struct window *, EMACS_INT, |
| 2982 | EMACS_INT, struct glyph_row *, enum face_id); | 2973 | EMACS_INT, struct glyph_row *, enum face_id); |
| 2983 | void init_iterator_to_row_start (struct it *, struct window *, | 2974 | void init_iterator_to_row_start (struct it *, struct window *, |
| 2984 | struct glyph_row *); | 2975 | struct glyph_row *); |
| 2985 | int get_next_display_element (struct it *); | ||
| 2986 | void set_iterator_to_next (struct it *, int); | ||
| 2987 | void start_display (struct it *, struct window *, struct text_pos); | 2976 | void start_display (struct it *, struct window *, struct text_pos); |
| 2988 | void move_it_to (struct it *, EMACS_INT, int, int, int, int); | 2977 | void move_it_to (struct it *, EMACS_INT, int, int, int, int); |
| 2989 | void move_it_vertically (struct it *, int); | 2978 | void move_it_vertically (struct it *, int); |
| @@ -2995,7 +2984,6 @@ void move_it_in_display_line (struct it *it, | |||
| 2995 | enum move_operation_enum op); | 2984 | enum move_operation_enum op); |
| 2996 | int in_display_vector_p (struct it *); | 2985 | int in_display_vector_p (struct it *); |
| 2997 | int frame_mode_line_height (struct frame *); | 2986 | int frame_mode_line_height (struct frame *); |
| 2998 | void highlight_trailing_whitespace (struct frame *, struct glyph_row *); | ||
| 2999 | extern Lisp_Object Qtool_bar; | 2987 | extern Lisp_Object Qtool_bar; |
| 3000 | extern int redisplaying_p; | 2988 | extern int redisplaying_p; |
| 3001 | extern int help_echo_showing_p; | 2989 | extern int help_echo_showing_p; |
| @@ -3058,15 +3046,11 @@ extern int x_intersect_rectangles (XRectangle *, XRectangle *, | |||
| 3058 | XRectangle *); | 3046 | XRectangle *); |
| 3059 | #endif /* HAVE_WINDOW_SYSTEM */ | 3047 | #endif /* HAVE_WINDOW_SYSTEM */ |
| 3060 | 3048 | ||
| 3061 | extern void frame_to_window_pixel_xy (struct window *, int *, int *); | ||
| 3062 | extern void note_mouse_highlight (struct frame *, int, int); | 3049 | extern void note_mouse_highlight (struct frame *, int, int); |
| 3063 | extern void x_clear_window_mouse_face (struct window *); | 3050 | extern void x_clear_window_mouse_face (struct window *); |
| 3064 | extern void cancel_mouse_face (struct frame *); | 3051 | extern void cancel_mouse_face (struct frame *); |
| 3065 | extern int clear_mouse_face (Mouse_HLInfo *); | 3052 | extern int clear_mouse_face (Mouse_HLInfo *); |
| 3066 | extern void show_mouse_face (Mouse_HLInfo *, enum draw_glyphs_face); | ||
| 3067 | extern int cursor_in_mouse_face_p (struct window *w); | 3053 | extern int cursor_in_mouse_face_p (struct window *w); |
| 3068 | extern void draw_row_with_mouse_face (struct window *, int, struct glyph_row *, | ||
| 3069 | int, int, enum draw_glyphs_face); | ||
| 3070 | extern void tty_draw_row_with_mouse_face (struct window *, struct glyph_row *, | 3054 | extern void tty_draw_row_with_mouse_face (struct window *, struct glyph_row *, |
| 3071 | int, int, enum draw_glyphs_face); | 3055 | int, int, enum draw_glyphs_face); |
| 3072 | 3056 | ||
| @@ -3096,7 +3080,7 @@ extern void x_reference_bitmap (struct frame *, int); | |||
| 3096 | extern int x_create_bitmap_from_data (struct frame *, char *, | 3080 | extern int x_create_bitmap_from_data (struct frame *, char *, |
| 3097 | unsigned int, unsigned int); | 3081 | unsigned int, unsigned int); |
| 3098 | extern int x_create_bitmap_from_file (struct frame *, Lisp_Object); | 3082 | extern int x_create_bitmap_from_file (struct frame *, Lisp_Object); |
| 3099 | #if defined (HAVE_XPM) && defined (HAVE_X_WINDOWS) | 3083 | #if defined HAVE_XPM && defined HAVE_X_WINDOWS && !defined USE_GTK |
| 3100 | extern int x_create_bitmap_from_xpm_data (struct frame *f, const char **bits); | 3084 | extern int x_create_bitmap_from_xpm_data (struct frame *f, const char **bits); |
| 3101 | #endif | 3085 | #endif |
| 3102 | #ifndef x_destroy_bitmap | 3086 | #ifndef x_destroy_bitmap |
| @@ -3148,7 +3132,6 @@ unsigned long load_color (struct frame *, struct face *, Lisp_Object, | |||
| 3148 | void unload_color (struct frame *, unsigned long); | 3132 | void unload_color (struct frame *, unsigned long); |
| 3149 | char *choose_face_font (struct frame *, Lisp_Object *, Lisp_Object, | 3133 | char *choose_face_font (struct frame *, Lisp_Object *, Lisp_Object, |
| 3150 | int *); | 3134 | int *); |
| 3151 | int ascii_face_of_lisp_face (struct frame *, int); | ||
| 3152 | void prepare_face_for_display (struct frame *, struct face *); | 3135 | void prepare_face_for_display (struct frame *, struct face *); |
| 3153 | int xstrcasecmp (const char *, const char *); | 3136 | int xstrcasecmp (const char *, const char *); |
| 3154 | int lookup_named_face (struct frame *, Lisp_Object, int); | 3137 | int lookup_named_face (struct frame *, Lisp_Object, int); |
| @@ -3174,7 +3157,6 @@ int face_at_string_position (struct window *w, Lisp_Object string, | |||
| 3174 | int merge_faces (struct frame *, Lisp_Object, int, int); | 3157 | int merge_faces (struct frame *, Lisp_Object, int, int); |
| 3175 | int compute_char_face (struct frame *, int, Lisp_Object); | 3158 | int compute_char_face (struct frame *, int, Lisp_Object); |
| 3176 | void free_all_realized_faces (Lisp_Object); | 3159 | void free_all_realized_faces (Lisp_Object); |
| 3177 | void free_realized_face (struct frame *, struct face *); | ||
| 3178 | extern Lisp_Object Qforeground_color, Qbackground_color; | 3160 | extern Lisp_Object Qforeground_color, Qbackground_color; |
| 3179 | extern Lisp_Object Qframe_set_background_mode; | 3161 | extern Lisp_Object Qframe_set_background_mode; |
| 3180 | extern char unspecified_fg[], unspecified_bg[]; | 3162 | extern char unspecified_fg[], unspecified_bg[]; |
| @@ -3190,7 +3172,6 @@ void gamma_correct (struct frame *, COLORREF *); | |||
| 3190 | 3172 | ||
| 3191 | #ifdef HAVE_WINDOW_SYSTEM | 3173 | #ifdef HAVE_WINDOW_SYSTEM |
| 3192 | 3174 | ||
| 3193 | int x_screen_planes (struct frame *); | ||
| 3194 | void x_implicitly_set_name (struct frame *, Lisp_Object, Lisp_Object); | 3175 | void x_implicitly_set_name (struct frame *, Lisp_Object, Lisp_Object); |
| 3195 | 3176 | ||
| 3196 | extern Lisp_Object tip_frame; | 3177 | extern Lisp_Object tip_frame; |
| @@ -3248,11 +3229,9 @@ extern Lisp_Object marginal_area_string (struct window *, enum window_part, | |||
| 3248 | Lisp_Object *, | 3229 | Lisp_Object *, |
| 3249 | int *, int *, int *, int *); | 3230 | int *, int *, int *, int *); |
| 3250 | extern void redraw_frame (struct frame *); | 3231 | extern void redraw_frame (struct frame *); |
| 3251 | extern void redraw_garbaged_frames (void); | ||
| 3252 | extern void cancel_line (int, struct frame *); | 3232 | extern void cancel_line (int, struct frame *); |
| 3253 | extern void init_desired_glyphs (struct frame *); | 3233 | extern void init_desired_glyphs (struct frame *); |
| 3254 | extern int update_frame (struct frame *, int, int); | 3234 | extern int update_frame (struct frame *, int, int); |
| 3255 | extern int scrolling (struct frame *); | ||
| 3256 | extern void bitch_at_user (void); | 3235 | extern void bitch_at_user (void); |
| 3257 | void adjust_glyphs (struct frame *); | 3236 | void adjust_glyphs (struct frame *); |
| 3258 | void free_glyphs (struct frame *); | 3237 | void free_glyphs (struct frame *); |
| @@ -3268,7 +3247,6 @@ void rotate_matrix (struct glyph_matrix *, int, int, int); | |||
| 3268 | void increment_matrix_positions (struct glyph_matrix *, | 3247 | void increment_matrix_positions (struct glyph_matrix *, |
| 3269 | int, int, EMACS_INT, EMACS_INT); | 3248 | int, int, EMACS_INT, EMACS_INT); |
| 3270 | void blank_row (struct window *, struct glyph_row *, int); | 3249 | void blank_row (struct window *, struct glyph_row *, int); |
| 3271 | void increment_row_positions (struct glyph_row *, EMACS_INT, EMACS_INT); | ||
| 3272 | void enable_glyph_matrix_rows (struct glyph_matrix *, int, int, int); | 3250 | void enable_glyph_matrix_rows (struct glyph_matrix *, int, int, int); |
| 3273 | void clear_glyph_row (struct glyph_row *); | 3251 | void clear_glyph_row (struct glyph_row *); |
| 3274 | void prepare_desired_row (struct glyph_row *); | 3252 | void prepare_desired_row (struct glyph_row *); |
| @@ -3302,10 +3280,7 @@ extern struct terminal *init_initial_terminal (void); | |||
| 3302 | 3280 | ||
| 3303 | /* Defined in term.c */ | 3281 | /* Defined in term.c */ |
| 3304 | 3282 | ||
| 3305 | extern void tty_set_terminal_modes (struct terminal *); | ||
| 3306 | extern void tty_reset_terminal_modes (struct terminal *); | ||
| 3307 | extern void tty_turn_off_insert (struct tty_display_info *); | 3283 | extern void tty_turn_off_insert (struct tty_display_info *); |
| 3308 | extern void tty_turn_off_highlight (struct tty_display_info *); | ||
| 3309 | extern int string_cost (const char *); | 3284 | extern int string_cost (const char *); |
| 3310 | extern int per_line_cost (const char *); | 3285 | extern int per_line_cost (const char *); |
| 3311 | extern void calculate_costs (struct frame *); | 3286 | extern void calculate_costs (struct frame *); |
| @@ -3313,7 +3288,6 @@ extern void produce_glyphs (struct it *); | |||
| 3313 | extern void produce_special_glyphs (struct it *, enum display_element_type); | 3288 | extern void produce_special_glyphs (struct it *, enum display_element_type); |
| 3314 | extern int tty_capable_p (struct tty_display_info *, unsigned, unsigned long, unsigned long); | 3289 | extern int tty_capable_p (struct tty_display_info *, unsigned, unsigned long, unsigned long); |
| 3315 | extern void set_tty_color_mode (struct tty_display_info *, struct frame *); | 3290 | extern void set_tty_color_mode (struct tty_display_info *, struct frame *); |
| 3316 | extern struct terminal *get_tty_terminal (Lisp_Object, int); | ||
| 3317 | extern struct terminal *get_named_tty (const char *); | 3291 | extern struct terminal *get_named_tty (const char *); |
| 3318 | EXFUN (Ftty_type, 1); | 3292 | EXFUN (Ftty_type, 1); |
| 3319 | extern void create_tty_output (struct frame *); | 3293 | extern void create_tty_output (struct frame *); |
| @@ -3323,7 +3297,6 @@ extern struct terminal *init_tty (const char *, const char *, int); | |||
| 3323 | /* Defined in scroll.c */ | 3297 | /* Defined in scroll.c */ |
| 3324 | 3298 | ||
| 3325 | extern int scrolling_max_lines_saved (int, int, int *, int *, int *); | 3299 | extern int scrolling_max_lines_saved (int, int, int *, int *, int *); |
| 3326 | extern int scroll_cost (struct frame *, int, int, int); | ||
| 3327 | extern void do_line_insertion_deletion_costs (struct frame *, const char *, | 3300 | extern void do_line_insertion_deletion_costs (struct frame *, const char *, |
| 3328 | const char *, const char *, | 3301 | const char *, const char *, |
| 3329 | const char *, const char *, | 3302 | const char *, const char *, |