SFML community forums
Help => Window => Topic started by: ElChupacabra on November 07, 2008, 02:54:25 pm
-
How can I set a custom cursor(like a crosshair) for a given RenderWindow? Are there some Methods in SFML for this?
-
How can I set a custom cursor(like a crosshair) for a given RenderWindow? Are there some Methods in SFML for this?
Paint a cursor the way you whant it to look in a graphics program such as Paint.NET/Gimp or if you can afford it Photshop.
Then set that sprite at the current mouse position. might also be a good idea to make sure it is renderd last (is on top of everything else)
-
And use this : http://www.sfml-dev.org/documentation/1.3/classsf_1_1Window.htm#6142e38cb60901e6604284425714f3f0 .
-
Works fine, thanks :)