[PATCH 1/6] user32: Fix GetCursorFrameInfo when passed the proper number of steps.
ehoover at mines.edu
Thu Mar 10 00:36:01 CST 2011
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.
user32: Fix GetCursorFrameInfo when passed the proper number of steps.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 16395 bytes
Desc: not available
More information about the wine-patches