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

Method hide_context

src/ui/ui_state.cpp:813–823  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

811}
812
813void recompui::hide_context(ContextId context) {
814 ContextId prev_context = recompui::try_close_current_context();
815 {
816 std::lock_guard lock{ ui_state_mutex };
817
818 ui_state->hide_context(context);
819 }
820 if (prev_context != ContextId::null()) {
821 prev_context.open();
822 }
823}
824
825void recompui::hide_all_contexts() {
826 std::lock_guard lock{ui_state_mutex};

Callers

nothing calls this directly

Calls 1

openMethod · 0.80

Tested by

no test coverage detected