diff options
| author | YAMAMOTO Mitsuharu | 2007-07-27 08:40:38 +0000 |
|---|---|---|
| committer | YAMAMOTO Mitsuharu | 2007-07-27 08:40:38 +0000 |
| commit | 680e49c34c031701155f78a0973e48a430b50494 (patch) | |
| tree | 6067f5d1573e7f2d05a4dc2a418506e302918fe9 /src | |
| parent | 06929222cd586cc40e4d3230ee07d11e0f891bb6 (diff) | |
| download | emacs-680e49c34c031701155f78a0973e48a430b50494.tar.gz emacs-680e49c34c031701155f78a0973e48a430b50494.zip | |
(struct scroll_bar): New member fringe_extended_p.
(w32_fill_area): Enclose multiple statements with do ... while (0).
Diffstat (limited to 'src')
| -rw-r--r-- | src/w32term.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/w32term.h b/src/w32term.h index 3bf7d588501..d809992b8ff 100644 --- a/src/w32term.h +++ b/src/w32term.h | |||
| @@ -487,6 +487,10 @@ struct scroll_bar { | |||
| 487 | place where the user grabbed it. If the handle isn't currently | 487 | place where the user grabbed it. If the handle isn't currently |
| 488 | being dragged, this is Qnil. */ | 488 | being dragged, this is Qnil. */ |
| 489 | Lisp_Object dragging; | 489 | Lisp_Object dragging; |
| 490 | |||
| 491 | /* t if the background of the fringe that is adjacent to a scroll | ||
| 492 | bar is extended to the gap between the fringe and the bar. */ | ||
| 493 | Lisp_Object fringe_extended_p; | ||
| 490 | }; | 494 | }; |
| 491 | 495 | ||
| 492 | /* The number of elements a vector holding a struct scroll_bar needs. */ | 496 | /* The number of elements a vector holding a struct scroll_bar needs. */ |
| @@ -576,14 +580,14 @@ extern void w32_fill_rect (); | |||
| 576 | extern void w32_clear_window (); | 580 | extern void w32_clear_window (); |
| 577 | 581 | ||
| 578 | #define w32_fill_area(f,hdc,pix,x,y,nx,ny) \ | 582 | #define w32_fill_area(f,hdc,pix,x,y,nx,ny) \ |
| 579 | { \ | 583 | do { \ |
| 580 | RECT rect; \ | 584 | RECT rect; \ |
| 581 | rect.left = x; \ | 585 | rect.left = x; \ |
| 582 | rect.top = y; \ | 586 | rect.top = y; \ |
| 583 | rect.right = x + nx; \ | 587 | rect.right = x + nx; \ |
| 584 | rect.bottom = y + ny; \ | 588 | rect.bottom = y + ny; \ |
| 585 | w32_fill_rect (f,hdc,pix,&rect); \ | 589 | w32_fill_rect (f,hdc,pix,&rect); \ |
| 586 | } | 590 | } while (0) |
| 587 | 591 | ||
| 588 | #define w32_clear_rect(f,hdc,lprect) \ | 592 | #define w32_clear_rect(f,hdc,lprect) \ |
| 589 | w32_fill_rect (f,hdc,f->output_data.x->background_pixel,lprect) | 593 | w32_fill_rect (f,hdc,f->output_data.x->background_pixel,lprect) |