MCPcopy Create free account
hub / github.com/RevoSucks/BM64Recomp / is_context_capturing_input

Method is_context_capturing_input

src/ui/ui_state.cpp:391–393  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

389 }
390
391 bool is_context_capturing_input() {
392 return std::find_if(shown_contexts.begin(), shown_contexts.end(), [](auto& c){ return c.context.captures_input(); }) != shown_contexts.end();
393 }
394
395 bool is_context_capturing_mouse() {
396 return std::find_if(shown_contexts.begin(), shown_contexts.end(), [](auto& c){ return c.context.captures_mouse(); }) != shown_contexts.end();

Callers

nothing calls this directly

Calls 3

captures_inputMethod · 0.80
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected