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

Method BeginPopupContextWindow

include/imgui/imgui.cpp:12665–12675  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12663}
12664
12665bool ImGui::BeginPopupContextWindow(const char* str_id, ImGuiPopupFlags popup_flags)
12666{
12667 ImGuiContext& g = *GImGui;
12668 ImGuiWindow* window = g.CurrentWindow;
12669 if (!str_id)
12670 str_id = "window_context";
12671 ImGuiID id = window->GetID(str_id);
12672 if (IsPopupOpenRequestForWindow(popup_flags))
12673 OpenPopupEx(id, popup_flags);
12674 return BeginPopupEx(id, ImGuiWindowFlags_AlwaysAutoResize | ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoSavedSettings);
12675}
12676
12677bool ImGui::BeginPopupContextVoid(const char* str_id, ImGuiPopupFlags popup_flags)
12678{

Callers

nothing calls this directly

Calls 1

GetIDMethod · 0.80

Tested by

no test coverage detected