Loading...
Searching...
No Matches
Cursor.h
Go to the documentation of this file.
7// In no event will the authors be held liable for any damages arising from the use of this software.
121CSFML_WINDOW_API sfCursor* sfCursor_createFromPixels(const sfUint8* pixels, sfVector2u size, sfVector2u hotspot);
sfCursor * sfCursor_createFromSystem(sfCursorType type)
Create a native system cursor.
sfCursor * sfCursor_createFromPixels(const sfUint8 *pixels, sfVector2u size, sfVector2u hotspot)
Create a cursor with the provided image.
@ sfCursorSizeBottomLeftTopRight
Double arrow cursor going from bottom-left to top-right.
Definition Cursor.h:77
@ sfCursorSizeTop
Up arrow cursor on Linux, same as SizeVertical on other platforms.
Definition Cursor.h:80
@ sfCursorSizeLeft
Left arrow cursor on Linux, same as SizeHorizontal on other platforms.
Definition Cursor.h:78
@ sfCursorSizeRight
Right arrow cursor on Linux, same as SizeHorizontal on other platforms.
Definition Cursor.h:79
@ sfCursorSizeTopLeft
Top-left arrow cursor on Linux, same as SizeTopLeftBottomRight on other platforms.
Definition Cursor.h:82
@ sfCursorSizeTopLeftBottomRight
Double arrow cursor going from top-left to bottom-right.
Definition Cursor.h:76
@ sfCursorSizeTopRight
Top-right arrow cursor on Linux, same as SizeBottomLeftTopRight on other platforms.
Definition Cursor.h:85
@ sfCursorSizeBottomRight
Bottom-right arrow cursor on Linux, same as SizeTopLeftBottomRight on other platforms.
Definition Cursor.h:83
@ sfCursorSizeBottomLeft
Bottom-left arrow cursor on Linux, same as SizeBottomLeftTopRight on other platforms.
Definition Cursor.h:84
@ sfCursorSizeBottom
Down arrow cursor on Linux, same as SizeVertical on other platforms.
Definition Cursor.h:81