19 #ifndef MIR_GRAPHICS_SOFTWARE_CURSOR_H_
20 #define MIR_GRAPHICS_SOFTWARE_CURSOR_H_
29 namespace input {
class Scene; }
32 class GraphicBufferAllocator;
37 class CursorRenderable;
44 std::shared_ptr<GraphicBufferAllocator>
const& allocator,
45 std::shared_ptr<input::Scene>
const& scene);
53 std::shared_ptr<detail::CursorRenderable> create_renderable_for(
56 std::shared_ptr<GraphicBufferAllocator>
const allocator;
57 std::shared_ptr<input::Scene>
const scene;
60 std::shared_ptr<detail::CursorRenderable> renderable;
void move_to(geometry::Point position) override
Definition: software_cursor.cpp:189
All things Mir.
Definition: buffer_stream.h:37
~SoftwareCursor()
Definition: software_cursor.cpp:117
SoftwareCursor(std::shared_ptr< GraphicBufferAllocator > const &allocator, std::shared_ptr< input::Scene > const &scene)
Definition: software_cursor.cpp:107
Definition: cursor_image.h:30
Definition: displacement.h:32
void show(CursorImage const &cursor_image) override
Definition: software_cursor.cpp:122
Definition: software_cursor.h:40
void hide() override
Definition: software_cursor.cpp:175