36 #ifndef DOXYGEN_SHOULD_SKIP_THIS 156 bool loadFromPixels(
const uint8_t* pixels, Vector2u size, Vector2u hotspot);
179 SDL_Cursor *m_cursor;
182 #ifndef DOXYGEN_SHOULD_SKIP_THIS Vertical double arrow cursor.
Definition: Cursor.h:85
Action not allowed cursor.
Definition: Cursor.h:90
Cursor & operator=(const Cursor &)=delete
Deleted copy assignment.
Arrow cursor (default)
Definition: Cursor.h:79
Cursor & operator=(Cursor &&other)
Move assignment.
Type
Enumeration of the native system cursor types.
Definition: Cursor.h:78
Cursor()
Default constructor.
friend class RenderTarget
Definition: Shader.h:388
bool loadFromPixels(const uint8_t *pixels, Vector2u size, Vector2u hotspot)
Create a cursor with the provided pixels.
Double arrow cursor going from bottom-left to top-right.
Definition: Cursor.h:87
Busy arrow cursor.
Definition: Cursor.h:80
bool loadFromImage(const Image &image, Vector2u hotspot)
Create a cursor from the provided image.
Horizontal double arrow cursor.
Definition: Cursor.h:84
Crosshair cursor.
Definition: Cursor.h:89
Combination of SizeHorizontal and SizeVertical.
Definition: Cursor.h:88
Busy cursor.
Definition: Cursor.h:81
Class for loading, manipulating and saving images.
Definition: Image.h:92
The namespace for gf classes.
Definition: Action.h:34
I-beam, cursor when hovering over a field allowing text entry.
Definition: Cursor.h:82
Pointing hand cursor.
Definition: Cursor.h:83
Double arrow cursor going from top-left to bottom-right.
Definition: Cursor.h:86
Cursor(const Cursor &)=delete
Deleted copy constructor.
A mouse cursor.
Definition: Cursor.h:72
#define GF_API
Definition: Portability.h:35
Cursor(Cursor &&other)
Move constructor.
bool loadFromSystem(Type type)
Create a native system cursor.