On 24 Feb 2008, at 14:36, Quentin Mathé wrote: > > Le 24 févr. 08 à 14:41, David Chisnall a écrit : > >> On 24 Feb 2008, at 13:29, Quentin Mathé wrote: >> >>> However I think cursor theming probably belongs to Camaelon rather >>> than IconKit but I'm not really sure about that. Any opinions? >> >> I think cursor themes belong to X. Since GNUstep just calls the X >> server to define the cursor, I'm not sure how you would integrate >> this >> with Camaelon, other than to provide somewhere in the bundle >> directory >> to put the cursor themes and then call the (not-very-documented) X >> routines for loading them... > > > If we consider mouse cursor theming for X11 apps as another issue and > we only intend to support cursor theming for GNUstep apps, I thought > that writing a NSCursor category would do the trick. I should first > test whether NSCursor works as documented, I'm not sure it's really > the case though. > Altering the X11 cursor for all apps (including non-GNUstep ones) is > probably important when the default arrow pointer is customized.
The current NSCursor code maps the OpenStep cursor type constants on to X11 equivalents and tells the X server to generate them. Installing an X11 cursor theme is a single command. Writing our own custom cursor handling code would: 1) Be a lot more effort. 2) Not work with non-GNUstep apps. I fail to see what advantage this would provide. David _______________________________________________ Etoile-dev mailing list [email protected] https://mail.gna.org/listinfo/etoile-dev
