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

Method is_context_shown

src/ui/ui_state.cpp:387–389  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

385 }
386
387 bool is_context_shown(recompui::ContextId context) {
388 return std::find_if(shown_contexts.begin(), shown_contexts.end(), [context](auto& c){ return c.context == context; }) != shown_contexts.end();
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();

Callers

nothing calls this directly

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected