33 #include "../display_target.h"
42 class CursorDescription;
88 std::shared_ptr<Cursor_Impl> impl;
bool is_null() const
Returns true if this object is invalid.
Definition: cursor.h:69
Cursor()
Constructs a null instance.
Mouse cursor class.
Definition: cursor.h:48
Cursor(const DisplayWindow &window, const CursorDescription &cursor_description)
Constructs a Cursor.
This class contains everything to construct a cursor - its data, default settings etc.
Definition: cursor_description.h:71
CursorProvider * get_provider() const
Returns the cursor provider.
void throw_if_null() const
Throw an exception if this object is invalid.
Top-level window class.
Definition: display_window.h:102
Interface for implementing a Cursor target.
Definition: cursor_provider.h:40