MCPcopy Create free account
hub / github.com/MrNeRF/LichtFeld-Studio / pointerTargets

Method pointerTargets

src/visualizer/input/input_router.cpp:113–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111 }
112
113 PointerTargets InputRouter::pointerTargets(const double x, const double y) const {
114 const auto hover_target = hitTestHoverTarget(x, y);
115 return {
116 .hover_target = hover_target,
117 .pointer_target = state_.pointer_capture != InputTarget::None
118 ? state_.pointer_capture
119 : hover_target,
120 };
121 }
122
123 InputTarget InputRouter::keyboardFocus() const {
124 const auto gui_state = queryGuiInputState();

Callers 4

handleMouseMoveMethod · 0.80
handleScrollMethod · 0.80
TEST_FFunction · 0.80

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.64