aboutsummaryrefslogtreecommitdiffstats
path: root/src/dispextern.h
diff options
context:
space:
mode:
authorGerd Moellmann1999-09-05 16:39:19 +0000
committerGerd Moellmann1999-09-05 16:39:19 +0000
commit045dee35ff74932bbaa0d603bd6f0b4e51a6fbd0 (patch)
treed30d50ac8f82d4994290a9fb87eb34816f563fc6 /src/dispextern.h
parente5e7779fb41613580088a4819264cc10a0eea230 (diff)
downloademacs-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/dispextern.h')
-rw-r--r--src/dispextern.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/src/dispextern.h b/src/dispextern.h
index 622dc8a806b..009ac503f2a 100644
--- a/src/dispextern.h
+++ b/src/dispextern.h
@@ -461,7 +461,7 @@ struct glyph_matrix
461 461
462 /* Non-zero means window displayed in this matrix has a top mode 462 /* Non-zero means window displayed in this matrix has a top mode
463 line. */ 463 line. */
464 unsigned top_line_p : 1; 464 unsigned header_line_p : 1;
465 465
466#ifdef GLYPH_DEBUG 466#ifdef GLYPH_DEBUG
467 /* A string identifying the method used to display the matrix. */ 467 /* A string identifying the method used to display the matrix. */
@@ -674,7 +674,7 @@ struct glyph_row *matrix_row P_ ((struct glyph_matrix *, int));
674 This is always the first row in MATRIX because that's the only 674 This is always the first row in MATRIX because that's the only
675 way that works in frame-based redisplay. */ 675 way that works in frame-based redisplay. */
676 676
677#define MATRIX_TOP_LINE_ROW(MATRIX) (MATRIX)->rows 677#define MATRIX_HEADER_LINE_ROW(MATRIX) (MATRIX)->rows
678 678
679/* Return a pointer to first row in MATRIX used for text display. */ 679/* Return a pointer to first row in MATRIX used for text display. */
680 680
@@ -744,7 +744,7 @@ struct glyph_row *matrix_row P_ ((struct glyph_matrix *, int));
744 744
745#define MATRIX_ROW_PARTIALLY_VISIBLE_AT_TOP_P(W, ROW) \ 745#define MATRIX_ROW_PARTIALLY_VISIBLE_AT_TOP_P(W, ROW) \
746 (MATRIX_ROW_PARTIALLY_VISIBLE_P ((ROW)) \ 746 (MATRIX_ROW_PARTIALLY_VISIBLE_P ((ROW)) \
747 && (ROW)->y < WINDOW_DISPLAY_TOP_LINE_HEIGHT ((W))) 747 && (ROW)->y < WINDOW_DISPLAY_HEADER_LINE_HEIGHT ((W)))
748 748
749/* Non-zero if ROW is partially visible at the bottom of window W. */ 749/* Non-zero if ROW is partially visible at the bottom of window W. */
750 750
@@ -863,9 +863,9 @@ extern struct glyph_row scratch_glyph_row;
863 if not known. This macro is called under circumstances where 863 if not known. This macro is called under circumstances where
864 MATRIX might not have been allocated yet. */ 864 MATRIX might not have been allocated yet. */
865 865
866#define MATRIX_TOP_LINE_HEIGHT(MATRIX) \ 866#define MATRIX_HEADER_LINE_HEIGHT(MATRIX) \
867 ((MATRIX) && (MATRIX)->rows \ 867 ((MATRIX) && (MATRIX)->rows \
868 ? MATRIX_TOP_LINE_ROW (MATRIX)->height \ 868 ? MATRIX_HEADER_LINE_ROW (MATRIX)->height \
869 : 0) 869 : 0)
870 870
871/* Return the current height of the mode line of window W. If not 871/* Return the current height of the mode line of window W. If not
@@ -881,10 +881,10 @@ extern struct glyph_row scratch_glyph_row;
881 known from W's current glyph matrix, return an estimation based on 881 known from W's current glyph matrix, return an estimation based on
882 the height of the font of the face `top-line'. */ 882 the height of the font of the face `top-line'. */
883 883
884#define CURRENT_TOP_LINE_HEIGHT(W) \ 884#define CURRENT_HEADER_LINE_HEIGHT(W) \
885 (MATRIX_TOP_LINE_HEIGHT ((W)->current_matrix) \ 885 (MATRIX_HEADER_LINE_HEIGHT ((W)->current_matrix) \
886 ? MATRIX_TOP_LINE_HEIGHT ((W)->current_matrix) \ 886 ? MATRIX_HEADER_LINE_HEIGHT ((W)->current_matrix) \
887 : estimate_mode_line_height (XFRAME ((W)->frame), TOP_LINE_FACE_ID)) 887 : estimate_mode_line_height (XFRAME ((W)->frame), HEADER_LINE_FACE_ID))
888 888
889/* Return the height of the desired mode line of window W. */ 889/* Return the height of the desired mode line of window W. */
890 890
@@ -893,8 +893,8 @@ extern struct glyph_row scratch_glyph_row;
893 893
894/* Return the height of the desired top line of window W. */ 894/* Return the height of the desired top line of window W. */
895 895
896#define DESIRED_TOP_LINE_HEIGHT(W) \ 896#define DESIRED_HEADER_LINE_HEIGHT(W) \
897 MATRIX_TOP_LINE_HEIGHT ((W)->desired_matrix) 897 MATRIX_HEADER_LINE_HEIGHT ((W)->desired_matrix)
898 898
899/* Like FRAME_INTERNAL_BORDER_WIDTH but checks whether frame F is a 899/* Like FRAME_INTERNAL_BORDER_WIDTH but checks whether frame F is a
900 window-system frame. */ 900 window-system frame. */
@@ -930,9 +930,9 @@ extern struct glyph_row scratch_glyph_row;
930/* Height in pixels of the top line. Zero if W doesn't have a top 930/* Height in pixels of the top line. Zero if W doesn't have a top
931 line. */ 931 line. */
932 932
933#define WINDOW_DISPLAY_TOP_LINE_HEIGHT(W) \ 933#define WINDOW_DISPLAY_HEADER_LINE_HEIGHT(W) \
934 (WINDOW_WANTS_TOP_LINE_P ((W)) \ 934 (WINDOW_WANTS_HEADER_LINE_P ((W)) \
935 ? CURRENT_TOP_LINE_HEIGHT (W) \ 935 ? CURRENT_HEADER_LINE_HEIGHT (W) \
936 : 0) 936 : 0)
937 937
938/* Pixel height of window W without mode line. */ 938/* Pixel height of window W without mode line. */
@@ -946,7 +946,7 @@ extern struct glyph_row scratch_glyph_row;
946#define WINDOW_DISPLAY_TEXT_HEIGHT(W) \ 946#define WINDOW_DISPLAY_TEXT_HEIGHT(W) \
947 (WINDOW_DISPLAY_PIXEL_HEIGHT ((W)) \ 947 (WINDOW_DISPLAY_PIXEL_HEIGHT ((W)) \
948 - WINDOW_DISPLAY_MODE_LINE_HEIGHT ((W)) \ 948 - WINDOW_DISPLAY_MODE_LINE_HEIGHT ((W)) \
949 - WINDOW_DISPLAY_TOP_LINE_HEIGHT ((W))) 949 - WINDOW_DISPLAY_HEADER_LINE_HEIGHT ((W)))
950 950
951/* Left edge of W in pixels relative to its frame. */ 951/* Left edge of W in pixels relative to its frame. */
952 952
@@ -1056,11 +1056,11 @@ extern struct glyph_row scratch_glyph_row;
1056 1056
1057/* Value is non-zero if window W wants a top line. */ 1057/* Value is non-zero if window W wants a top line. */
1058 1058
1059#define WINDOW_WANTS_TOP_LINE_P(W) \ 1059#define WINDOW_WANTS_HEADER_LINE_P(W) \
1060 (!MINI_WINDOW_P (W) \ 1060 (!MINI_WINDOW_P (W) \
1061 && !(W)->pseudo_window_p \ 1061 && !(W)->pseudo_window_p \
1062 && FRAME_WANTS_MODELINE_P (XFRAME (WINDOW_FRAME (W))) \ 1062 && FRAME_WANTS_MODELINE_P (XFRAME (WINDOW_FRAME (W))) \
1063 && !NILP (XBUFFER ((W)->buffer)->top_line_format)) 1063 && !NILP (XBUFFER ((W)->buffer)->header_line_format))
1064 1064
1065 1065
1066/*********************************************************************** 1066/***********************************************************************
@@ -1266,7 +1266,7 @@ enum face_id
1266 MODE_LINE_FACE_ID, 1266 MODE_LINE_FACE_ID,
1267 TOOL_BAR_FACE_ID, 1267 TOOL_BAR_FACE_ID,
1268 BITMAP_AREA_FACE_ID, 1268 BITMAP_AREA_FACE_ID,
1269 TOP_LINE_FACE_ID, 1269 HEADER_LINE_FACE_ID,
1270 BASIC_FACE_ID_SENTINEL 1270 BASIC_FACE_ID_SENTINEL
1271}; 1271};
1272 1272
@@ -1473,7 +1473,7 @@ struct it
1473 unsigned multibyte_p : 1; 1473 unsigned multibyte_p : 1;
1474 1474
1475 /* 1 means window has a mode line at its top. */ 1475 /* 1 means window has a mode line at its top. */
1476 unsigned top_line_p : 1; 1476 unsigned header_line_p : 1;
1477 1477
1478 /* 1 means `string' is the value of a `display' property. 1478 /* 1 means `string' is the value of a `display' property.
1479 Don't handle some `display' properties in these strings. */ 1479 Don't handle some `display' properties in these strings. */