Mercurial > emacs
comparison src/xterm.c @ 25083:d3b7d7d2bca8
(x_setup_relief_color): Don't try smart color allocation
if display is mono.
(x_draw_row_bitmaps): If face has stipple, don't switch
to foreground color for clearing areas, and set the fill style.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Tue, 27 Jul 1999 00:02:50 +0000 |
parents | 3a09aae52441 |
children | 23813e3a69b8 |
comparison
equal
deleted
inserted
replaced
25082:ba6bf065b287 | 25083:d3b7d7d2bca8 |
---|---|
2374 int width = FRAME_SCROLL_BAR_WIDTH (s->f) * canon_x; | 2374 int width = FRAME_SCROLL_BAR_WIDTH (s->f) * canon_x; |
2375 if (FRAME_HAS_VERTICAL_SCROLL_BARS_ON_LEFT (s->f)) | 2375 if (FRAME_HAS_VERTICAL_SCROLL_BARS_ON_LEFT (s->f)) |
2376 r->x -= width; | 2376 r->x -= width; |
2377 } | 2377 } |
2378 | 2378 |
2379 /* If row should not extend over internal borders, adjust x. */ | 2379 r->x += FRAME_INTERNAL_BORDER_WIDTH (s->f); |
2380 if (!s->row->internal_border_p) | |
2381 r->x += FRAME_INTERNAL_BORDER_WIDTH (s->f); | |
2382 | 2380 |
2383 /* Unless displaying a mode or menu bar line, which are always | 2381 /* Unless displaying a mode or menu bar line, which are always |
2384 fully visible, clip to the visible part of the row. */ | 2382 fully visible, clip to the visible part of the row. */ |
2385 if (s->w->pseudo_window_p) | 2383 if (s->w->pseudo_window_p) |
2386 r->height = s->row->visible_height; | 2384 r->height = s->row->visible_height; |
4264 last_x += width; | 4262 last_x += width; |
4265 else | 4263 else |
4266 x -= width; | 4264 x -= width; |
4267 } | 4265 } |
4268 | 4266 |
4269 /* If row should extend over internal borders, adjust x and | 4267 x += FRAME_INTERNAL_BORDER_WIDTH (f); |
4270 width accordingly. */ | 4268 last_x -= FRAME_INTERNAL_BORDER_WIDTH (f); |
4271 if (!row->internal_border_p) | |
4272 { | |
4273 x += FRAME_INTERNAL_BORDER_WIDTH (f); | |
4274 last_x -= FRAME_INTERNAL_BORDER_WIDTH (f); | |
4275 } | |
4276 } | 4269 } |
4277 else | 4270 else |
4278 { | 4271 { |
4279 x = WINDOW_AREA_TO_FRAME_PIXEL_X (w, area, x); | 4272 x = WINDOW_AREA_TO_FRAME_PIXEL_X (w, area, x); |
4280 area_width = window_box_width (w, area); | 4273 area_width = window_box_width (w, area); |