[SDL] (no subject)
Trevor Agnitti
trevor at lackeyccg.com
Sun Aug 6 15:07:55 PDT 2006
I can't seem to get the SDL_CreateCursor code working correctly.
I tried the sample code listed at:
http://www.libsdl.org/cgi/docwiki.cgi/SDL_5fCreateCursor
And this resulted in the messed up cursor pictured in this shot:
http://www.lackeyccg.com/images/cursor2.jpg
I then found some other code to make an SDL cursor, and this result
looked a lot better, but it was still messed up a bit.
Here is the code for it:
http://www.lackeyccg.com/CursorCodeSnippet.txt
And here is the resulting slightly messed up cursor:
http://www.lackeyccg.com/images/cursor1.jpg
Is there a bug in the SDL cursor code, or am I doing something
incorrectly? Does anyone have a link to some code that actually
demonstrates it correctly?
Thanks in advance.
-Trevor
www.lackeyccg.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20060806/8b137f21/attachment.htm>
More information about the SDL
mailing list