aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32term.c
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu2005-10-07 07:40:35 +0000
committerYAMAMOTO Mitsuharu2005-10-07 07:40:35 +0000
commitc2ded1b7d5b6ced034c2291d5078416fbc58fafc (patch)
tree63aa71560f94069f1d2d75bab5dfe0529b42ad8c /src/w32term.c
parenta66678fd3c23322bdebbe285086e9a6d9db1593d (diff)
downloademacs-c2ded1b7d5b6ced034c2291d5078416fbc58fafc.tar.gz
emacs-c2ded1b7d5b6ced034c2291d5078416fbc58fafc.zip
Rename member for_overlaps_p in struct glyph_string to for_overlaps.
Diffstat (limited to 'src/w32term.c')
-rw-r--r--src/w32term.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/w32term.c b/src/w32term.c
index 8a28ac136b8..7e352bfd50d 100644
--- a/src/w32term.c
+++ b/src/w32term.c
@@ -1567,7 +1567,7 @@ x_draw_glyph_string_foreground (s)
1567 else 1567 else
1568 x = s->x; 1568 x = s->x;
1569 1569
1570 if (s->for_overlaps_p || (s->background_filled_p && s->hl != DRAW_CURSOR)) 1570 if (s->for_overlaps || (s->background_filled_p && s->hl != DRAW_CURSOR))
1571 SetBkMode (s->hdc, TRANSPARENT); 1571 SetBkMode (s->hdc, TRANSPARENT);
1572 else 1572 else
1573 SetBkMode (s->hdc, OPAQUE); 1573 SetBkMode (s->hdc, OPAQUE);
@@ -2448,7 +2448,7 @@ x_draw_glyph_string (s)
2448 /* If S draws into the background of its successor, draw the 2448 /* If S draws into the background of its successor, draw the
2449 background of the successor first so that S can draw into it. 2449 background of the successor first so that S can draw into it.
2450 This makes S->next use XDrawString instead of XDrawImageString. */ 2450 This makes S->next use XDrawString instead of XDrawImageString. */
2451 if (s->next && s->right_overhang && !s->for_overlaps_p) 2451 if (s->next && s->right_overhang && !s->for_overlaps)
2452 { 2452 {
2453 xassert (s->next->img == NULL); 2453 xassert (s->next->img == NULL);
2454 x_set_glyph_string_gc (s->next); 2454 x_set_glyph_string_gc (s->next);
@@ -2461,7 +2461,7 @@ x_draw_glyph_string (s)
2461 2461
2462 /* Draw relief (if any) in advance for char/composition so that the 2462 /* Draw relief (if any) in advance for char/composition so that the
2463 glyph string can be drawn over it. */ 2463 glyph string can be drawn over it. */
2464 if (!s->for_overlaps_p 2464 if (!s->for_overlaps
2465 && s->face->box != FACE_NO_BOX 2465 && s->face->box != FACE_NO_BOX
2466 && (s->first_glyph->type == CHAR_GLYPH 2466 && (s->first_glyph->type == CHAR_GLYPH
2467 || s->first_glyph->type == COMPOSITE_GLYPH)) 2467 || s->first_glyph->type == COMPOSITE_GLYPH))
@@ -2487,7 +2487,7 @@ x_draw_glyph_string (s)
2487 break; 2487 break;
2488 2488
2489 case CHAR_GLYPH: 2489 case CHAR_GLYPH:
2490 if (s->for_overlaps_p) 2490 if (s->for_overlaps)
2491 s->background_filled_p = 1; 2491 s->background_filled_p = 1;
2492 else 2492 else
2493 x_draw_glyph_string_background (s, 0); 2493 x_draw_glyph_string_background (s, 0);
@@ -2495,7 +2495,7 @@ x_draw_glyph_string (s)
2495 break; 2495 break;
2496 2496
2497 case COMPOSITE_GLYPH: 2497 case COMPOSITE_GLYPH:
2498 if (s->for_overlaps_p || s->gidx > 0) 2498 if (s->for_overlaps || s->gidx > 0)
2499 s->background_filled_p = 1; 2499 s->background_filled_p = 1;
2500 else 2500 else
2501 x_draw_glyph_string_background (s, 1); 2501 x_draw_glyph_string_background (s, 1);
@@ -2506,7 +2506,7 @@ x_draw_glyph_string (s)
2506 abort (); 2506 abort ();
2507 } 2507 }
2508 2508
2509 if (!s->for_overlaps_p) 2509 if (!s->for_overlaps)
2510 { 2510 {
2511 /* Draw underline. */ 2511 /* Draw underline. */
2512 if (s->face->underline_p 2512 if (s->face->underline_p