Mercurial > emacs
comparison src/xterm.c @ 41791:fcab0e888c5c
(x_draw_image_relief): Use predefined macro instead of constant when the
value of `tool_bar_button_relief' is negative.
author | Pavel Janík <Pavel@Janik.cz> |
---|---|
date | Sun, 02 Dec 2001 17:28:08 +0000 |
parents | ff4fb83e4986 |
children | ca8e9acfffca |
comparison
equal
deleted
inserted
replaced
41790:27f9d9949ca2 | 41791:fcab0e888c5c |
---|---|
4127 y += s->img->vmargin; | 4127 y += s->img->vmargin; |
4128 | 4128 |
4129 if (s->hl == DRAW_IMAGE_SUNKEN | 4129 if (s->hl == DRAW_IMAGE_SUNKEN |
4130 || s->hl == DRAW_IMAGE_RAISED) | 4130 || s->hl == DRAW_IMAGE_RAISED) |
4131 { | 4131 { |
4132 thick = tool_bar_button_relief >= 0 ? tool_bar_button_relief : 3; | 4132 thick = tool_bar_button_relief >= 0 ? tool_bar_button_relief : DEFAULT_TOOL_BAR_BUTTON_RELIEF; |
4133 raised_p = s->hl == DRAW_IMAGE_RAISED; | 4133 raised_p = s->hl == DRAW_IMAGE_RAISED; |
4134 } | 4134 } |
4135 else | 4135 else |
4136 { | 4136 { |
4137 thick = abs (s->img->relief); | 4137 thick = abs (s->img->relief); |