SFML community forums
Help => Graphics => Topic started by: battosaijenkins on April 18, 2020, 07:48:36 am
-
If this has been asked before then I apologize but I was wondering if there's more cursors besides the following:
// available types
enum Type {
Arrow, ArrowWait, Wait, Text,
Hand, SizeHorizontal, SizeVertical, SizeTopLeftBottomRight,
SizeBottomLeftTopRight, SizeAll, Cross, Help,
NotAllowed
}
More specifically I was looking for drag and isDrag (open hand) (close hand) kind of a cursor for when mouse button is pressed and then released. I suppose I can get a png image to appear on my mouse cursor and do the handling but I was wondering if there's been more additions to the available types, thx in advance!
-
If there were more types available, they would be listed under available type (https://www.sfml-dev.org/documentation/2.5.1/classsf_1_1Cursor.php#ab9ab152aec1f8a4955e34ccae08f930a) ;)
Lots of drag functions don't have special cursors, but if you think it's essential, you can load an image yourself.