MCPcopy Create free account
hub / github.com/clementgallet/libTAS / GetFallbackWindowNameForWindowingList

Function GetFallbackWindowNameForWindowingList

src/external/imgui/imgui.cpp:12476–12483  ·  view source on GitHub ↗

Window has already passed the IsWindowNavFocusable()

Source from the content-addressed store, hash-verified

12474
12475// Window has already passed the IsWindowNavFocusable()
12476static const char* GetFallbackWindowNameForWindowingList(ImGuiWindow* window)
12477{
12478 if (window->Flags & ImGuiWindowFlags_Popup)
12479 return ImGui::LocalizeGetMsg(ImGuiLocKey_WindowingPopup);
12480 if ((window->Flags & ImGuiWindowFlags_MenuBar) && strcmp(window->Name, "##MainMenuBar") == 0)
12481 return ImGui::LocalizeGetMsg(ImGuiLocKey_WindowingMainMenuBar);
12482 return ImGui::LocalizeGetMsg(ImGuiLocKey_WindowingUntitled);
12483}
12484
12485// Overlay displayed when using CTRL+TAB. Called by EndFrame().
12486void ImGui::NavUpdateWindowingOverlay()

Callers 1

Calls 1

LocalizeGetMsgFunction · 0.85

Tested by

no test coverage detected