aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim F. Storm2001-11-16 13:01:09 +0000
committerKim F. Storm2001-11-16 13:01:09 +0000
commitafb7aabb3fdc8b7c4c1b2544faaf363ce28ea771 (patch)
treec2cb8e45b60a9dc3dd949ae6ed869442648d9f9d
parent7c350dcc411cc24bd380666d2fbd0e2c7747bf2c (diff)
downloademacs-afb7aabb3fdc8b7c4c1b2544faaf363ce28ea771.tar.gz
emacs-afb7aabb3fdc8b7c4c1b2544faaf363ce28ea771.zip
Fringe cleanup.
(FRINGE_FACE_ID): Renamed from BITMAP_AREA_FACE_ID. Comments fixed. Use renamed symbols.
-rw-r--r--src/dispextern.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/dispextern.h b/src/dispextern.h
index c44deee0f1a..102ae84a6ee 100644
--- a/src/dispextern.h
+++ b/src/dispextern.h
@@ -668,7 +668,7 @@ struct glyph_row
668 unsigned contains_overlapping_glyphs_p : 1; 668 unsigned contains_overlapping_glyphs_p : 1;
669 669
670 /* 1 means this row is a wide as the window it is displayed in, including 670 /* 1 means this row is a wide as the window it is displayed in, including
671 scroll bars, bitmap areas, and internal borders. This also 671 scroll bars, fringes, and internal borders. This also
672 implies that the row doesn't have marginal areas. */ 672 implies that the row doesn't have marginal areas. */
673 unsigned full_width_p : 1; 673 unsigned full_width_p : 1;
674 674
@@ -968,12 +968,12 @@ extern struct glyph_row scratch_glyph_row;
968/* Width of display region of window W. For terminal frames, this 968/* Width of display region of window W. For terminal frames, this
969 equals the width of W since there are no vertical scroll bars. For 969 equals the width of W since there are no vertical scroll bars. For
970 window system frames, the value has to be corrected by the pixel 970 window system frames, the value has to be corrected by the pixel
971 width of vertical scroll bars, and bitmap areas. */ 971 width of vertical scroll bars, and fringes. */
972 972
973#define WINDOW_DISPLAY_PIXEL_WIDTH(W) \ 973#define WINDOW_DISPLAY_PIXEL_WIDTH(W) \
974 (((XFASTINT ((W)->width) \ 974 (((XFASTINT ((W)->width) \
975 - FRAME_SCROLL_BAR_WIDTH (XFRAME (WINDOW_FRAME ((W)))) \ 975 - FRAME_SCROLL_BAR_WIDTH (XFRAME (WINDOW_FRAME ((W)))) \
976 - FRAME_FLAGS_AREA_COLS (XFRAME (WINDOW_FRAME ((W))))) \ 976 - FRAME_FRINGE_COLS (XFRAME (WINDOW_FRAME ((W))))) \
977 * CANON_X_UNIT (XFRAME (WINDOW_FRAME ((W)))))) 977 * CANON_X_UNIT (XFRAME (WINDOW_FRAME ((W))))))
978 978
979/* Height of the display region of W, including a mode line, if any. */ 979/* Height of the display region of W, including a mode line, if any. */
@@ -1017,7 +1017,7 @@ extern struct glyph_row scratch_glyph_row;
1017 (FRAME_INTERNAL_BORDER_WIDTH_SAFE (XFRAME (WINDOW_FRAME ((W)))) \ 1017 (FRAME_INTERNAL_BORDER_WIDTH_SAFE (XFRAME (WINDOW_FRAME ((W)))) \
1018 + (WINDOW_LEFT_MARGIN ((W)) \ 1018 + (WINDOW_LEFT_MARGIN ((W)) \
1019 * CANON_X_UNIT (XFRAME (WINDOW_FRAME ((W))))) \ 1019 * CANON_X_UNIT (XFRAME (WINDOW_FRAME ((W))))) \
1020 + FRAME_LEFT_FLAGS_AREA_WIDTH (XFRAME (WINDOW_FRAME ((W))))) 1020 + FRAME_LEFT_FRINGE_WIDTH (XFRAME (WINDOW_FRAME ((W)))))
1021 1021
1022/* Right edge of window W in pixels, relative to its frame. */ 1022/* Right edge of window W in pixels, relative to its frame. */
1023 1023
@@ -1352,7 +1352,7 @@ enum face_id
1352 DEFAULT_FACE_ID, 1352 DEFAULT_FACE_ID,
1353 MODE_LINE_FACE_ID, 1353 MODE_LINE_FACE_ID,
1354 TOOL_BAR_FACE_ID, 1354 TOOL_BAR_FACE_ID,
1355 BITMAP_AREA_FACE_ID, 1355 FRINGE_FACE_ID,
1356 HEADER_LINE_FACE_ID, 1356 HEADER_LINE_FACE_ID,
1357 SCROLL_BAR_FACE_ID, 1357 SCROLL_BAR_FACE_ID,
1358 BORDER_FACE_ID, 1358 BORDER_FACE_ID,