On Tue, Mar 8, 2011 at 2:50 AM, Fred Kiefer <[email protected]> wrote: > I just committed another pair of NSCursor changes. Now we transfer the > full image to the backend when defining an image cursor. That way the > backend can convert the image into a convenient format. Up to now our > code only worked with RGB colours and 8 bit per sample. Now it should > work with any bitmap format. > > Again you will need to update both gui and back! > > Fred
Thanks a lot! This is cool! Just play with XcursorImage a bit here's my experiment. https://picasaweb.google.com/lh/photo/QtRPVQNwPzDQtWvFFo96_Q?feat=directlink > > Am 16.02.2011 00:03, schrieb Fred Kiefer: >> I just committed a set of changes to the cursor handling in GNUstep. >> This consists of changes in gui and back, you will have to make sure >> that you update and recompile both libraries! >> >> What I did was take apart the method setcursorcolor, this method was >> changing the cursor colours and setting the cursor at once. This could >> lead to strange results when a new coloured cursor was created, but not >> set at the same time. The new interface should be a bit cleaner. >> I also added a method to free the cursor resources. This method, as most >> other cursor functionality is not implemented on Windows. >> >> Sorry for the inconvenience >> Fred > > _______________________________________________ > Gnustep-dev mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/gnustep-dev > -- .----. Banlu Kemiyatorn /.../\...\ 漫画家 |.../ \...| http://qstx.blogspot.com (Free Software Advocacy & Development) |../ \..| http://feedbat.blogspot.com (Studio Work For Hire) \/ \/ http://groundzerostudiocomplex.blogspot.com (Studio Research) _______________________________________________ Gnustep-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnustep-dev
