Re: [PATCH 1/6] user32: Add get/release routines for accessing cursor frames.

2011-03-11 Thread Alexandre Julliard
Erich Hoover writes: > The idea of the get_icon_data() is to return the frame data for a > particular icon step, so for split animated cursors (patch 3) the > routine can appropriately call get_icon_ptr() on the "sub-icon" (and > release_icon_data can call release_icon_ptr). I considered calling

Re: [PATCH 1/6] user32: Add get/release routines for accessing cursor frames.

2011-03-11 Thread Erich Hoover
On Fri, Mar 11, 2011 at 8:01 AM, Alexandre Julliard wrote: > Erich Hoover writes: >> @@ -135,6 +139,16 @@ static void release_icon_ptr( HICON handle, struct >> cursoricon_object *ptr ) >>      release_user_handle_ptr( ptr ); >>  } >> >> +struct static_cursoricon_object *get_icon_data( struct cur

Re: [PATCH 1/6] user32: Add get/release routines for accessing cursor frames.

2011-03-11 Thread Alexandre Julliard
Erich Hoover writes: > @@ -135,6 +139,16 @@ static void release_icon_ptr( HICON handle, struct > cursoricon_object *ptr ) > release_user_handle_ptr( ptr ); > } > > +struct static_cursoricon_object *get_icon_data( struct cursoricon_object > *obj, int istep ) > +{ > +return &obj->fram