[PATCH 1/6] user32: Fix GetCursorFrameInfo when passed the proper number of steps.

Erich Hoover ehoover at mines.edu
Thu Mar 10 00:36:01 CST 2011


Real Name:
    Erich Hoover
Description:
    Inspecting some of the stranger Test Bot results unlocked the key
to obtaining the frame-rate for all the different frames of an
animated cursor (rather than just the global delay).  The real trick
is handling the number of steps in the animation, for the most part in
handling animated cursors the number of frames is not used.  So, this
patch fixes GetCursorFrameInfo when the cursor has steps != 1 (like
would be true for any sane animated cursor) and updates DrawIconEx to
use the number of steps (rather than the number of frames) to find the
end of the cursor.  Tests are included.
ChangeLog:
    user32: Fix GetCursorFrameInfo when passed the proper number of steps.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-user32-Fix-GetCursorFrameInfo-when-passed-the-proper.patch
Type: text/x-patch
Size: 16395 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20110309/ae8994cb/attachment-0001.bin>


More information about the wine-patches mailing list