diff options
| author | Dmitry Antipov | 2014-07-22 17:55:04 +0400 |
|---|---|---|
| committer | Dmitry Antipov | 2014-07-22 17:55:04 +0400 |
| commit | 0df1c7293ee5a4715879ec8bf92585fa050085ea (patch) | |
| tree | a75620bbe67847ea09ed70043ba695286a56484b /src/xfns.c | |
| parent | 1d3710228bb29e020ab4f179b0b14362bb5691b4 (diff) | |
| download | emacs-0df1c7293ee5a4715879ec8bf92585fa050085ea.tar.gz emacs-0df1c7293ee5a4715879ec8bf92585fa050085ea.zip | |
* xterm.h (struct x_output) [USE_LUCID && USE_TOOLKIT_SCROLL_BARS]:
Define scroll_bar_top_shadow_pixel and scroll_bar_bottom_shadow_pixel
as such. All related users changed.
Diffstat (limited to 'src/xfns.c')
| -rw-r--r-- | src/xfns.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/xfns.c b/src/xfns.c index 1bdb676af04..6574beddc8b 100644 --- a/src/xfns.c +++ b/src/xfns.c | |||
| @@ -1221,7 +1221,7 @@ x_set_scroll_bar_background (struct frame *f, Lisp_Object value, Lisp_Object old | |||
| 1221 | if (f->output_data.x->scroll_bar_background_pixel != -1) | 1221 | if (f->output_data.x->scroll_bar_background_pixel != -1) |
| 1222 | unload_color (f, f->output_data.x->scroll_bar_background_pixel); | 1222 | unload_color (f, f->output_data.x->scroll_bar_background_pixel); |
| 1223 | 1223 | ||
| 1224 | #ifdef USE_TOOLKIT_SCROLL_BARS | 1224 | #if defined (USE_LUCID) && defined (USE_TOOLKIT_SCROLL_BARS) |
| 1225 | /* Scrollbar shadow colors. */ | 1225 | /* Scrollbar shadow colors. */ |
| 1226 | if (f->output_data.x->scroll_bar_top_shadow_pixel != -1) | 1226 | if (f->output_data.x->scroll_bar_top_shadow_pixel != -1) |
| 1227 | { | 1227 | { |
| @@ -1233,7 +1233,7 @@ x_set_scroll_bar_background (struct frame *f, Lisp_Object value, Lisp_Object old | |||
| 1233 | unload_color (f, f->output_data.x->scroll_bar_bottom_shadow_pixel); | 1233 | unload_color (f, f->output_data.x->scroll_bar_bottom_shadow_pixel); |
| 1234 | f->output_data.x->scroll_bar_bottom_shadow_pixel = -1; | 1234 | f->output_data.x->scroll_bar_bottom_shadow_pixel = -1; |
| 1235 | } | 1235 | } |
| 1236 | #endif /* USE_TOOLKIT_SCROLL_BARS */ | 1236 | #endif /* USE_LUCID && USE_TOOLKIT_SCROLL_BARS */ |
| 1237 | 1237 | ||
| 1238 | f->output_data.x->scroll_bar_background_pixel = pixel; | 1238 | f->output_data.x->scroll_bar_background_pixel = pixel; |
| 1239 | if (FRAME_X_WINDOW (f) && FRAME_VISIBLE_P (f)) | 1239 | if (FRAME_X_WINDOW (f) && FRAME_VISIBLE_P (f)) |
| @@ -2950,10 +2950,10 @@ This function is an internal primitive--use `make-frame' instead. */) | |||
| 2950 | FRAME_FONTSET (f) = -1; | 2950 | FRAME_FONTSET (f) = -1; |
| 2951 | f->output_data.x->scroll_bar_foreground_pixel = -1; | 2951 | f->output_data.x->scroll_bar_foreground_pixel = -1; |
| 2952 | f->output_data.x->scroll_bar_background_pixel = -1; | 2952 | f->output_data.x->scroll_bar_background_pixel = -1; |
| 2953 | #ifdef USE_TOOLKIT_SCROLL_BARS | 2953 | #if defined (USE_LUCID) && defined (USE_TOOLKIT_SCROLL_BARS) |
| 2954 | f->output_data.x->scroll_bar_top_shadow_pixel = -1; | 2954 | f->output_data.x->scroll_bar_top_shadow_pixel = -1; |
| 2955 | f->output_data.x->scroll_bar_bottom_shadow_pixel = -1; | 2955 | f->output_data.x->scroll_bar_bottom_shadow_pixel = -1; |
| 2956 | #endif /* USE_TOOLKIT_SCROLL_BARS */ | 2956 | #endif /* USE_LUCID && USE_TOOLKIT_SCROLL_BARS */ |
| 2957 | f->output_data.x->white_relief.pixel = -1; | 2957 | f->output_data.x->white_relief.pixel = -1; |
| 2958 | f->output_data.x->black_relief.pixel = -1; | 2958 | f->output_data.x->black_relief.pixel = -1; |
| 2959 | 2959 | ||
| @@ -4952,10 +4952,10 @@ x_create_tip_frame (struct x_display_info *dpyinfo, | |||
| 4952 | FRAME_FONTSET (f) = -1; | 4952 | FRAME_FONTSET (f) = -1; |
| 4953 | f->output_data.x->scroll_bar_foreground_pixel = -1; | 4953 | f->output_data.x->scroll_bar_foreground_pixel = -1; |
| 4954 | f->output_data.x->scroll_bar_background_pixel = -1; | 4954 | f->output_data.x->scroll_bar_background_pixel = -1; |
| 4955 | #ifdef USE_TOOLKIT_SCROLL_BARS | 4955 | #if defined (USE_LUCID) && defined (USE_TOOLKIT_SCROLL_BARS) |
| 4956 | f->output_data.x->scroll_bar_top_shadow_pixel = -1; | 4956 | f->output_data.x->scroll_bar_top_shadow_pixel = -1; |
| 4957 | f->output_data.x->scroll_bar_bottom_shadow_pixel = -1; | 4957 | f->output_data.x->scroll_bar_bottom_shadow_pixel = -1; |
| 4958 | #endif /* USE_TOOLKIT_SCROLL_BARS */ | 4958 | #endif /* USE_LUCID && USE_TOOLKIT_SCROLL_BARS */ |
| 4959 | f->output_data.x->white_relief.pixel = -1; | 4959 | f->output_data.x->white_relief.pixel = -1; |
| 4960 | f->output_data.x->black_relief.pixel = -1; | 4960 | f->output_data.x->black_relief.pixel = -1; |
| 4961 | 4961 | ||