#include WSCursor::WSCursor(Retained&& bitmap, const Point& hotspot) : m_bitmap(move(bitmap)) , m_hotspot(hotspot) { } WSCursor::~WSCursor() { } Retained WSCursor::create(Retained&& bitmap) { return adopt(*new WSCursor(move(bitmap), bitmap->rect().center())); } Retained WSCursor::create(Retained&& bitmap, const Point& hotspot) { return adopt(*new WSCursor(move(bitmap), hotspot)); }