MCPcopy Create free account
hub / github.com/Aegel5/SimpleSwitcher / AddSettingsHandler

Method AddSettingsHandler

imgui_tiny_app/imgui/imgui.cpp:16200–16205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16198}
16199
16200void ImGui::AddSettingsHandler(const ImGuiSettingsHandler* handler)
16201{
16202 ImGuiContext& g = *GImGui;
16203 IM_ASSERT(FindSettingsHandler(handler->TypeName) == NULL);
16204 g.SettingsHandlers.push_back(*handler);
16205}
16206
16207void ImGui::RemoveSettingsHandler(const char* type_name)
16208{

Callers

nothing calls this directly

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected