32#include "../display_target.h"
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
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
2D (x,y) point structure - Integer
Definition point.h:62