diff options
| author | Gerd Moellmann | 1999-09-05 16:39:19 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 1999-09-05 16:39:19 +0000 |
| commit | 045dee35ff74932bbaa0d603bd6f0b4e51a6fbd0 (patch) | |
| tree | d30d50ac8f82d4994290a9fb87eb34816f563fc6 /src/xterm.c | |
| parent | e5e7779fb41613580088a4819264cc10a0eea230 (diff) | |
| download | emacs-045dee35ff74932bbaa0d603bd6f0b4e51a6fbd0.tar.gz emacs-045dee35ff74932bbaa0d603bd6f0b4e51a6fbd0.zip | |
Change
`top-line' and `top_line' to `header-line' and `header_line'.
Likewise for similar spellings.
Diffstat (limited to 'src/xterm.c')
| -rw-r--r-- | src/xterm.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/xterm.c b/src/xterm.c index bdc7bfe627e..727bbdcdcf7 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -868,7 +868,7 @@ x_draw_row_bitmaps (w, row) | |||
| 868 | struct frame *f = XFRAME (w->frame); | 868 | struct frame *f = XFRAME (w->frame); |
| 869 | enum bitmap_type bitmap; | 869 | enum bitmap_type bitmap; |
| 870 | struct face *face; | 870 | struct face *face; |
| 871 | int top_line_height = -1; | 871 | int header_line_height = -1; |
| 872 | 872 | ||
| 873 | xassert (interrupt_input_blocked); | 873 | xassert (interrupt_input_blocked); |
| 874 | 874 | ||
| @@ -904,8 +904,8 @@ x_draw_row_bitmaps (w, row) | |||
| 904 | ? 1 : 0); | 904 | ? 1 : 0); |
| 905 | int left = window_box_left (w, -1); | 905 | int left = window_box_left (w, -1); |
| 906 | 906 | ||
| 907 | if (top_line_height < 0) | 907 | if (header_line_height < 0) |
| 908 | top_line_height = WINDOW_DISPLAY_TOP_LINE_HEIGHT (w); | 908 | header_line_height = WINDOW_DISPLAY_HEADER_LINE_HEIGHT (w); |
| 909 | 909 | ||
| 910 | /* In case the same realized face is used for bitmap areas and | 910 | /* In case the same realized face is used for bitmap areas and |
| 911 | for something displayed in the text (e.g. face `region' on | 911 | for something displayed in the text (e.g. face `region' on |
| @@ -921,7 +921,7 @@ x_draw_row_bitmaps (w, row) | |||
| 921 | (left | 921 | (left |
| 922 | - FRAME_X_LEFT_FLAGS_AREA_WIDTH (f) | 922 | - FRAME_X_LEFT_FLAGS_AREA_WIDTH (f) |
| 923 | + border), | 923 | + border), |
| 924 | WINDOW_TO_FRAME_PIXEL_Y (w, max (top_line_height, | 924 | WINDOW_TO_FRAME_PIXEL_Y (w, max (header_line_height, |
| 925 | row->y)), | 925 | row->y)), |
| 926 | FRAME_X_LEFT_FLAGS_AREA_WIDTH (f) - border, | 926 | FRAME_X_LEFT_FLAGS_AREA_WIDTH (f) - border, |
| 927 | row->visible_height); | 927 | row->visible_height); |
| @@ -949,8 +949,8 @@ x_draw_row_bitmaps (w, row) | |||
| 949 | { | 949 | { |
| 950 | int right = window_box_right (w, -1); | 950 | int right = window_box_right (w, -1); |
| 951 | 951 | ||
| 952 | if (top_line_height < 0) | 952 | if (header_line_height < 0) |
| 953 | top_line_height = WINDOW_DISPLAY_TOP_LINE_HEIGHT (w); | 953 | header_line_height = WINDOW_DISPLAY_HEADER_LINE_HEIGHT (w); |
| 954 | 954 | ||
| 955 | /* In case the same realized face is used for bitmap areas and | 955 | /* In case the same realized face is used for bitmap areas and |
| 956 | for something displayed in the text (e.g. face `region' on | 956 | for something displayed in the text (e.g. face `region' on |
| @@ -963,7 +963,7 @@ x_draw_row_bitmaps (w, row) | |||
| 963 | XFillRectangle (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), | 963 | XFillRectangle (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), |
| 964 | face->gc, | 964 | face->gc, |
| 965 | right, | 965 | right, |
| 966 | WINDOW_TO_FRAME_PIXEL_Y (w, max (top_line_height, | 966 | WINDOW_TO_FRAME_PIXEL_Y (w, max (header_line_height, |
| 967 | row->y)), | 967 | row->y)), |
| 968 | FRAME_X_RIGHT_FLAGS_AREA_WIDTH (f), | 968 | FRAME_X_RIGHT_FLAGS_AREA_WIDTH (f), |
| 969 | row->visible_height); | 969 | row->visible_height); |
| @@ -2435,7 +2435,7 @@ x_get_glyph_string_clip_rect (s, r) | |||
| 2435 | partially visible lines at the top of a window. */ | 2435 | partially visible lines at the top of a window. */ |
| 2436 | if (!s->row->full_width_p | 2436 | if (!s->row->full_width_p |
| 2437 | && MATRIX_ROW_PARTIALLY_VISIBLE_AT_TOP_P (s->w, s->row)) | 2437 | && MATRIX_ROW_PARTIALLY_VISIBLE_AT_TOP_P (s->w, s->row)) |
| 2438 | r->y = WINDOW_DISPLAY_TOP_LINE_HEIGHT (s->w); | 2438 | r->y = WINDOW_DISPLAY_HEADER_LINE_HEIGHT (s->w); |
| 2439 | else | 2439 | else |
| 2440 | r->y = max (0, s->row->y); | 2440 | r->y = max (0, s->row->y); |
| 2441 | 2441 | ||
| @@ -2449,7 +2449,7 @@ x_get_glyph_string_clip_rect (s, r) | |||
| 2449 | intentionally draws over other lines. */ | 2449 | intentionally draws over other lines. */ |
| 2450 | if (s->for_overlaps_p) | 2450 | if (s->for_overlaps_p) |
| 2451 | { | 2451 | { |
| 2452 | r->y = WINDOW_DISPLAY_TOP_LINE_HEIGHT (s->w); | 2452 | r->y = WINDOW_DISPLAY_HEADER_LINE_HEIGHT (s->w); |
| 2453 | r->height = window_text_bottom_y (s->w) - r->y; | 2453 | r->height = window_text_bottom_y (s->w) - r->y; |
| 2454 | } | 2454 | } |
| 2455 | 2455 | ||
| @@ -4722,7 +4722,7 @@ x_clear_end_of_line (to_x) | |||
| 4722 | to_x = WINDOW_AREA_TO_FRAME_PIXEL_X (w, updated_area, to_x); | 4722 | to_x = WINDOW_AREA_TO_FRAME_PIXEL_X (w, updated_area, to_x); |
| 4723 | } | 4723 | } |
| 4724 | 4724 | ||
| 4725 | min_y = WINDOW_DISPLAY_TOP_LINE_HEIGHT (w); | 4725 | min_y = WINDOW_DISPLAY_HEADER_LINE_HEIGHT (w); |
| 4726 | from_y = WINDOW_TO_FRAME_PIXEL_Y (w, max (min_y, output_cursor.y)); | 4726 | from_y = WINDOW_TO_FRAME_PIXEL_Y (w, max (min_y, output_cursor.y)); |
| 4727 | to_y = WINDOW_TO_FRAME_PIXEL_Y (w, to_y); | 4727 | to_y = WINDOW_TO_FRAME_PIXEL_Y (w, to_y); |
| 4728 | 4728 | ||
| @@ -6047,7 +6047,7 @@ note_mode_line_highlight (w, x, mode_line_p) | |||
| 6047 | if (mode_line_p) | 6047 | if (mode_line_p) |
| 6048 | row = MATRIX_MODE_LINE_ROW (w->current_matrix); | 6048 | row = MATRIX_MODE_LINE_ROW (w->current_matrix); |
| 6049 | else | 6049 | else |
| 6050 | row = MATRIX_TOP_LINE_ROW (w->current_matrix); | 6050 | row = MATRIX_HEADER_LINE_ROW (w->current_matrix); |
| 6051 | 6051 | ||
| 6052 | if (row->enabled_p) | 6052 | if (row->enabled_p) |
| 6053 | { | 6053 | { |
| @@ -10000,7 +10000,7 @@ x_erase_phys_cursor (w) | |||
| 10000 | if (w->phys_cursor_type == HOLLOW_BOX_CURSOR) | 10000 | if (w->phys_cursor_type == HOLLOW_BOX_CURSOR) |
| 10001 | { | 10001 | { |
| 10002 | int x; | 10002 | int x; |
| 10003 | int top_line_height = WINDOW_DISPLAY_TOP_LINE_HEIGHT (w); | 10003 | int header_line_height = WINDOW_DISPLAY_HEADER_LINE_HEIGHT (w); |
| 10004 | 10004 | ||
| 10005 | cursor_glyph = get_phys_cursor_glyph (w); | 10005 | cursor_glyph = get_phys_cursor_glyph (w); |
| 10006 | if (cursor_glyph == NULL) | 10006 | if (cursor_glyph == NULL) |
| @@ -10010,7 +10010,7 @@ x_erase_phys_cursor (w) | |||
| 10010 | 10010 | ||
| 10011 | XClearArea (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), | 10011 | XClearArea (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), |
| 10012 | x, | 10012 | x, |
| 10013 | WINDOW_TO_FRAME_PIXEL_Y (w, max (top_line_height, | 10013 | WINDOW_TO_FRAME_PIXEL_Y (w, max (header_line_height, |
| 10014 | cursor_row->y)), | 10014 | cursor_row->y)), |
| 10015 | cursor_glyph->pixel_width, | 10015 | cursor_glyph->pixel_width, |
| 10016 | cursor_row->visible_height, | 10016 | cursor_row->visible_height, |