aboutsummaryrefslogtreecommitdiff
path: root/src/ui/UiEvent.cpp
blob: 74dd54dc5b7dd9686b269a885fa31e933985c015 (plain)
1
2
3
4
5
6
7
8
9
10
#include "cru/ui/UiEvent.hpp"

#include "cru/ui/render/RenderObject.hpp"

namespace cru::ui::event {
Point MouseEventArgs::GetPointToContent(
    render::RenderObject* render_object) const {
  return render_object->FromRootToContent(GetPoint());
}
}  // namespace cru::ui::event