aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu2007-07-27 08:40:38 +0000
committerYAMAMOTO Mitsuharu2007-07-27 08:40:38 +0000
commit680e49c34c031701155f78a0973e48a430b50494 (patch)
tree6067f5d1573e7f2d05a4dc2a418506e302918fe9 /src
parent06929222cd586cc40e4d3230ee07d11e0f891bb6 (diff)
downloademacs-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.h8
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 ();
576extern void w32_clear_window (); 580extern 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{ \ 583do { \
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) \
589w32_fill_rect (f,hdc,f->output_data.x->background_pixel,lprect) 593w32_fill_rect (f,hdc,f->output_data.x->background_pixel,lprect)