#pragma once #include "Screen.h" #include "Window.h" #include #include class Mouse { public: Mouse(ui::Canvas& screen); void update(const moon::MousePacket& packet); void draw(ui::Canvas& screen); private: ui::Point m_position; ui::Rect m_screen_rect; Window* m_dragging_window = nullptr; ui::Point m_initial_drag_position; };