32#include "../display_target.h" 
   41        class CursorDescription;
 
   61                explicit operator bool()
 const { 
return bool(impl); }
 
   70                std::shared_ptr<Cursor_Impl> impl;
 
 
This class contains everything to construct a cursor - its data, default settings etc.
Definition cursor_description.h:70
Interface for implementing a Cursor target.
Definition cursor_provider.h:38
Mouse cursor class.
Definition cursor.h:47
void throw_if_null() const
Throw an exception if this object is invalid.
bool is_null() const
Returns true if this object is invalid.
Definition cursor.h:60
Cursor(const DisplayWindow &window, const CursorDescription &cursor_description)
Constructs a Cursor.
CursorProvider * get_provider() const
Returns the cursor provider.
Cursor()
Constructs a null instance.
Top-level window class.
Definition display_window.h:101