Implement extra cursors on macOS#1425
Conversation
|
Look at how SDL does it. Maybe we can do the same too? I'm not sure about |
I'd rather let the users decide on this themselves than impose an arbitrary and imperfect solution on them. ;-) |
|
Isn’t it an arbitrary and imperfect solution whether we used closed hand or leave it as normal arrow cursor? I’d also say closed hand is better than unchanged |
|
The current choice is between the closed hand (or any non optimal cursor) and returning false to explicitly let the user choose another cursor. |
|
Ah my mistake, returning false is more logical |
|
Agreed. |
|
Since this doesn't change any public-facing API or files, I've moved this from "feature" to "bugfix" and will include it in SFML 2.5.1. @mantognini Let me know if I should rebase it or whether you want to do it. 🙂 |
c9c0ee6 to
f6f6990
Compare
f6f6990 to
e043fc2
Compare
- remove Wait and SizeAll cursors as they don't look nice
(Wait is not spining and produces a broken rendering,
SizeAll is a simple white cursor.)
- fix memory management for NSCursor.
- ignore selector warnings.
e043fc2 to
aeca3dc
Compare
|
Merged in aeca3dc |

Superseds #1413 & #1401.
@JonnyPtn when carefully reviewing your PR I noticed a few issues in my original code so I've fixed it here. Feedback welcome.
I've removed Wait and SizeAll cursors as they don't look nice (Wait is not spinning and produces a broken rendering, SizeAll is a simple white cursor as you mentioned.) I think it would be more a disappointment/confusion or a source of bug reports to keep those.
It should also be more robust w.r.t. memory handling and reduce unwanted selector warnings.