Howdy folks,
I'm trying to get some good custom cursors up and running but I'm not into a few problems.
Firstly, I use
createCustomCursor to create my cursors but I notice it doesn't allow you to define the type of cursor (kind of like how
Cursor(int) lets you do). This is annoying because I want to create cursors which have to origin at the center rather at top-left corner, like with a move or crosshair cursor instead of an arrow pointer. Right now my custom move has the origin on the top-left corner, which makes it feel very odd. How can a tweak my custom cursors to do this?
Also I've noticed that the Cursors are much too large on Windows whereas they're just fine on Mac OS X. How can I fix this without tampering the Mac version? NOTE: I'm using 256x256 images which I resize to 16x16 in
getIcon(Icon, int). Is this a bad idea? You save them into separate 16x16 files instead?
Here's the code (it's kind of long-ish, line 104-133 are what's important though)
Thanks