[PATCH 5/6] user32: Add support for retrieving individual animated frames.

Alexandre Julliard julliard at winehq.org
Thu Mar 10 08:55:38 CST 2011


Erich Hoover <ehoover at mines.edu> writes:

> @@ -101,19 +93,40 @@ struct cursoricon_object
>      UINT                    width;
>      UINT                    height;
>      POINT                   hotspot;
> +    UINT                    delay;      /* delay between this frame and the next (in jiffies) */
> +    BOOL                    is_ani;     /* whether this object is a static cursor or an animated cursor */
>      UINT                    num_frames; /* number of frames in the icon/cursor */
>      UINT                    num_steps;  /* number of sequence steps in the icon/cursor */
> -    UINT                    delay;      /* global delay between frames (in jiffies) */
> -    struct cursoricon_frame frames[1];  /* icon frame information */
>  };

Some of these fields don't make sense for a static cursor. Also please
try to do this change in smaller steps.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list