4395 |
the image. I believe it's looking better if we do |
the image. I believe it's looking better if we do |
4396 |
nothing here for mouse-face. */ |
nothing here for mouse-face. */ |
4397 |
if (s->hl == DRAW_CURSOR) |
if (s->hl == DRAW_CURSOR) |
4398 |
mac_draw_rectangle (s->display, s->window, s->gc, x, y, |
{ |
4399 |
s->img->width - 1, s->img->height - 1); |
int r = s->img->relief; |
4400 |
|
if (r < 0) r = -r; |
4401 |
|
mac_draw_rectangle (s->display, s->window, s->gc, x - r, y - r, |
4402 |
|
s->img->width + r*2 - 1, s->img->height + r*2 - 1); |
4403 |
|
} |
4404 |
} |
} |
4405 |
} |
} |
4406 |
else |
else |
4518 |
the image. I believe it's looking better if we do |
the image. I believe it's looking better if we do |
4519 |
nothing here for mouse-face. */ |
nothing here for mouse-face. */ |
4520 |
if (s->hl == DRAW_CURSOR) |
if (s->hl == DRAW_CURSOR) |
4521 |
mac_draw_rectangle_to_pixmap (s->display, pixmap, s->gc, x, y, |
{ |
4522 |
s->img->width - 1, s->img->height - 1); |
int r = s->img->relief; |
4523 |
|
if (r < 0) r = -r; |
4524 |
|
mac_draw_rectangle_to_pixmap (s->display, pixmap, s->gc, x - r, y - r, |
4525 |
|
s->img->width + r*2 - 1, s->img->height + r*2 - 1); |
4526 |
|
} |
4527 |
} |
} |
4528 |
} |
} |
4529 |
else |
else |