diff options
Diffstat (limited to 'src/w32term.h')
| -rw-r--r-- | src/w32term.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/w32term.h b/src/w32term.h index 46d9614e471..bd1a5ab2aad 100644 --- a/src/w32term.h +++ b/src/w32term.h | |||
| @@ -6,7 +6,7 @@ This file is part of GNU Emacs. | |||
| 6 | 6 | ||
| 7 | GNU Emacs is free software; you can redistribute it and/or modify | 7 | GNU Emacs is free software; you can redistribute it and/or modify |
| 8 | it under the terms of the GNU General Public License as published by | 8 | it under the terms of the GNU General Public License as published by |
| 9 | the Free Software Foundation; either version 2, or (at your option) | 9 | the Free Software Foundation; either version 3, or (at your option) |
| 10 | any later version. | 10 | any later version. |
| 11 | 11 | ||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | 12 | GNU Emacs is distributed in the hope that it will be useful, |
| @@ -490,6 +490,10 @@ struct scroll_bar { | |||
| 490 | place where the user grabbed it. If the handle isn't currently | 490 | place where the user grabbed it. If the handle isn't currently |
| 491 | being dragged, this is Qnil. */ | 491 | being dragged, this is Qnil. */ |
| 492 | Lisp_Object dragging; | 492 | Lisp_Object dragging; |
| 493 | |||
| 494 | /* t if the background of the fringe that is adjacent to a scroll | ||
| 495 | bar is extended to the gap between the fringe and the bar. */ | ||
| 496 | Lisp_Object fringe_extended_p; | ||
| 493 | }; | 497 | }; |
| 494 | 498 | ||
| 495 | /* The number of elements a vector holding a struct scroll_bar needs. */ | 499 | /* The number of elements a vector holding a struct scroll_bar needs. */ |
| @@ -579,14 +583,14 @@ extern void w32_fill_rect (); | |||
| 579 | extern void w32_clear_window (); | 583 | extern void w32_clear_window (); |
| 580 | 584 | ||
| 581 | #define w32_fill_area(f,hdc,pix,x,y,nx,ny) \ | 585 | #define w32_fill_area(f,hdc,pix,x,y,nx,ny) \ |
| 582 | { \ | 586 | do { \ |
| 583 | RECT rect; \ | 587 | RECT rect; \ |
| 584 | rect.left = x; \ | 588 | rect.left = x; \ |
| 585 | rect.top = y; \ | 589 | rect.top = y; \ |
| 586 | rect.right = x + nx; \ | 590 | rect.right = x + nx; \ |
| 587 | rect.bottom = y + ny; \ | 591 | rect.bottom = y + ny; \ |
| 588 | w32_fill_rect (f,hdc,pix,&rect); \ | 592 | w32_fill_rect (f,hdc,pix,&rect); \ |
| 589 | } | 593 | } while (0) |
| 590 | 594 | ||
| 591 | #define w32_clear_rect(f,hdc,lprect) \ | 595 | #define w32_clear_rect(f,hdc,lprect) \ |
| 592 | w32_fill_rect (f, hdc, FRAME_BACKGROUND_PIXEL (f), lprect) | 596 | w32_fill_rect (f, hdc, FRAME_BACKGROUND_PIXEL (f), lprect) |