mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 16:45:50 +00:00
[PAINT]
- After clearing a new selection and creating an undo-step, draw selection contents - Fixes bug #5246 svn path=/trunk/; revision=47373
This commit is contained in:
parent
c63cf6931f
commit
011d911b66
1 changed files with 6 additions and 0 deletions
|
@ -279,6 +279,9 @@ endPaintingL(HDC hdc, short x, short y, int fg, int bg)
|
|||
Poly(hdc, ptStack, ptSP + 1, bg, bg, 1, 2, TRUE);
|
||||
newReversible();
|
||||
|
||||
MaskBlt(hDrawingDC, rectSel_src[0], rectSel_src[1], rectSel_src[2], rectSel_src[3], hSelDC, 0,
|
||||
0, hSelMask, 0, 0, MAKEROP4(SRCCOPY, SRCAND));
|
||||
|
||||
placeSelWin();
|
||||
ShowWindow(hSelection, SW_SHOW);
|
||||
}
|
||||
|
@ -302,6 +305,9 @@ endPaintingL(HDC hdc, short x, short y, int fg, int bg)
|
|||
rectSel_src[1] + rectSel_src[3], bgColor, bgColor, 0, TRUE);
|
||||
newReversible();
|
||||
|
||||
BitBlt(hDrawingDC, rectSel_src[0], rectSel_src[1], rectSel_src[2], rectSel_src[3], hSelDC, 0,
|
||||
0, SRCCOPY);
|
||||
|
||||
placeSelWin();
|
||||
ShowWindow(hSelection, SW_SHOW);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue