25#ifndef SFML_CURSOR_HPP
26#define SFML_CURSOR_HPP
175 const priv::CursorImpl& getImpl()
const;
182 priv::CursorImpl* m_impl;
Cursor defines the appearance of a system cursor.
Cursor()
Default constructor.
Type
Enumeration of the native system cursor types.
@ SizeHorizontal
Horizontal double arrow cursor.
@ ArrowWait
Busy arrow cursor.
@ Text
I-beam, cursor when hovering over a field allowing text entry.
@ SizeAll
Combination of SizeHorizontal and SizeVertical.
@ Arrow
Arrow cursor (default)
@ SizeTopLeftBottomRight
Double arrow cursor going from top-left to bottom-right.
@ SizeVertical
Vertical double arrow cursor.
@ SizeBottomLeftTopRight
Double arrow cursor going from bottom-left to top-right.
@ Hand
Pointing hand cursor.
bool loadFromPixels(const Uint8 *pixels, Vector2u size, Vector2u hotspot)
Create a cursor with the provided image.
bool loadFromSystem(Type type)
Create a native system cursor.
Utility class that makes any derived class non-copyable.
Window that serves as a target for OpenGL rendering.