[revised] [user] scroll.c: fix visual glitch
Felix Nawothnig
felix.nawothnig at t-online.de
Sun May 8 03:20:53 CDT 2005
Sorry, the last one introduced another visual glitch -
SCROLL_DrawInterior() ignores the min/max values so dragging the thumb
out of the bar resulted in it being drawn on the arrows (which were
immediatly overdrawn again).
This time I just removed the SCROLL_DrawInterior() - it's redundant
anyway. (and so is the SCROLL_DrawMovingThumb() above but I better not
touch more than necessary)
ChangeLog:
Removed redundant redraw
-------------- next part --------------
Index: scroll.c
===================================================================
RCS file: /home/wine/wine/dlls/user/scroll.c,v
retrieving revision 1.12
diff -u -r1.12 scroll.c
--- scroll.c 27 Apr 2005 10:23:24 -0000 1.12
+++ scroll.c 8 May 2005 08:08:56 -0000
@@ -951,9 +951,6 @@
if (SCROLL_MovingThumb)
SCROLL_DrawMovingThumb(hdc, &rect, vertical, arrowSize, thumbSize);
SCROLL_TrackingWin = 0;
- SCROLL_DrawInterior( hwnd, hdc, nBar, &rect, arrowSize, thumbSize,
- thumbPos, infoPtr->flags, vertical,
- FALSE, FALSE );
}
else /* WM_MOUSEMOVE */
{
More information about the wine-patches
mailing list