[SDL] using the X11 cursor in an application

Chris Cera cera at cs.drexel.edu
Thu Jul 31 21:08:01 PDT 2003


Sam:  Thanks for your prompt response.

Rather than use the X4 cursor for animation ... I redid it using a
library called SDLSprite.  This involved some manipulation using
gimp and other things in order to tune the images given by the
graphic designer.  It wasn't hard to use, but if something better
exists I'd appreciate any feedback.

I would have rather used the method suggested by Sam, could
somebody point me to a "minimal working example" if one exists?
Or the file I should start hacking within the SDL source.  I'm
very new to SDL, but not OpenGL.  Any help is greatly appreciated.
Thanks again.


* Sam Lantinga <slouken at devolution.com> [030731 23:54]:
> > Hello All,
> 
> > How can I get an SDL application to use the default cursor of the
> > current machine.  For instance, an animated cursor in X11 version
> > 4.  Portability is not a concern for this application.  Any help
> > is greatly appreciated.
> 
> You can modify SDL not to create a custom cursor, if portabillity is not
> an issue.
> 
> See ya,
> 	-Sam Lantinga, Software Engineer, Blizzard Entertainment
> 
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl

-- 
cera at cs.drexel.edu                 http://www.cs.drexel.edu/~cera




More information about the SDL mailing list