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

Function GetFallbackWindowNameForWindowingList

include/imgui/imgui.cpp:14786–14793  ·  view source on GitHub ↗

Window has already passed the IsWindowNavFocusable()

Source from the content-addressed store, hash-verified

14784
14785// Window has already passed the IsWindowNavFocusable()
14786static const char* GetFallbackWindowNameForWindowingList(ImGuiWindow* window)
14787{
14788 if (window->Flags & ImGuiWindowFlags_Popup)
14789 return ImGui::LocalizeGetMsg(ImGuiLocKey_WindowingPopup);
14790 if ((window->Flags & ImGuiWindowFlags_MenuBar) && strcmp(window->Name, "##MainMenuBar") == 0)
14791 return ImGui::LocalizeGetMsg(ImGuiLocKey_WindowingMainMenuBar);
14792 return ImGui::LocalizeGetMsg(ImGuiLocKey_WindowingUntitled);
14793}
14794
14795// Overlay displayed when using Ctrl+Tab. Called by EndFrame().
14796void ImGui::NavUpdateWindowingOverlay()

Callers 1

Calls 1

LocalizeGetMsgFunction · 0.85

Tested by

no test coverage detected