SFML community forums
General => Feature requests => Topic started by: lotios611 on August 05, 2010, 06:44:31 pm
-
I think it would be nice to be able to set the window's cursor.
-
Hide the windows cursor and use a sprite has a custom one?
-
That's what I was thinking of doing for now, I just think that it would be nice if it was easier than that.
-
I just think that it would be nice if it was easier than that
Do you really think it's difficult?
-
I just think that it would be nice if it was easier than that
Do you really think it's difficult?
I meant it would be shorter.
-
I can't make every feature fit in a single function call. Shorter is not always better.
-
This SetCursor should use a hardware cursor, which is not possible to do if you simply paint a sprite yourself. The hardware cursor has lower lag (doesn't need to wait for next OpenGL frame to get displayed) and in windowed mode it may partially go outside window borders.
The drawbacks of a hardware cursor are that RGBA cursors might not be supported on all platforms and that the maximum size of the cursor might also be limited.
Still, I think this feature should be added, even if not high priority.