19 #ifndef MIR_INPUT_CURSOR_CONTROLLER_H_
20 #define MIR_INPUT_CURSOR_CONTROLLER_H_
48 std::shared_ptr<graphics::Cursor>
const& cursor,
49 std::shared_ptr<graphics::CursorImage>
const& default_cursor_image);
59 std::shared_ptr<Scene>
const input_targets;
60 std::shared_ptr<graphics::Cursor>
const cursor;
61 std::shared_ptr<graphics::CursorImage>
const default_cursor_image;
63 std::mutex cursor_state_guard;
65 std::shared_ptr<graphics::CursorImage> current_cursor;
67 std::weak_ptr<scene::Observer> observer;
70 void update_cursor_image_locked(std::unique_lock<std::mutex>&);
71 void set_cursor_image_locked(std::unique_lock<std::mutex>&, std::shared_ptr<graphics::CursorImage>
const& image);
77 #endif // MIR_INPUT_CURSOR_CONTROLLER_H_
All things Mir.
Definition: atomic_callback.h:25