MCPcopy Create free account
hub / github.com/RenderKit/embree / GetFallbackWindowNameForWindowingList

Function GetFallbackWindowNameForWindowingList

tutorials/common/imgui/imgui.cpp:11679–11686  ·  view source on GitHub ↗

Window has already passed the IsWindowNavFocusable()

Source from the content-addressed store, hash-verified

11677
11678// Window has already passed the IsWindowNavFocusable()
11679static const char* GetFallbackWindowNameForWindowingList(ImGuiWindow* window)
11680{
11681 if (window->Flags & ImGuiWindowFlags_Popup)
11682 return ImGui::LocalizeGetMsg(ImGuiLocKey_WindowingPopup);
11683 if ((window->Flags & ImGuiWindowFlags_MenuBar) && strcmp(window->Name, "##MainMenuBar") == 0)
11684 return ImGui::LocalizeGetMsg(ImGuiLocKey_WindowingMainMenuBar);
11685 return ImGui::LocalizeGetMsg(ImGuiLocKey_WindowingUntitled);
11686}
11687
11688// Overlay displayed when using CTRL+TAB. Called by EndFrame().
11689void ImGui::NavUpdateWindowingOverlay()

Callers 1

Calls 1

LocalizeGetMsgFunction · 0.85

Tested by

no test coverage detected