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

Method hide_all_contexts

src/ui/ui_state.cpp:379–385  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

377 }
378
379 void hide_all_contexts() {
380 for (auto& context : shown_contexts) {
381 context.document->Hide();
382 }
383
384 shown_contexts.clear();
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();

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected