MCPcopy Create free account
hub / github.com/Wemino/MarkerPatch / EndCombo

Method EndCombo

include/imgui/imgui_widgets.cpp:2081–2090  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2079}
2080
2081void ImGui::EndCombo()
2082{
2083 ImGuiContext& g = *GImGui;
2084 g.BeginComboDepth--;
2085 char name[16];
2086 ImFormatString(name, IM_COUNTOF(name), "##Combo_%02d", g.BeginComboDepth); // FIXME: Move those to helpers?
2087 if (strcmp(g.CurrentWindow->Name, name) != 0)
2088 IM_ASSERT_USER_ERROR_RET(0, "Calling EndCombo() in wrong window!");
2089 EndPopup();
2090}
2091
2092// Call directly after the BeginCombo/EndCombo block. The preview is designed to only host non-interactive elements
2093// (Experimental, see GitHub issues: #1658, #4168)

Callers

nothing calls this directly

Calls 1

ImFormatStringFunction · 0.85

Tested by

no test coverage detected