MCPcopy Create free account
hub / github.com/KebsCS/KBotExt / GetFallbackWindowNameForWindowingList

Function GetFallbackWindowNameForWindowingList

KBotExt/imgui/imgui.cpp:12249–12256  ·  view source on GitHub ↗

Window has already passed the IsWindowNavFocusable()

Source from the content-addressed store, hash-verified

12247
12248// Window has already passed the IsWindowNavFocusable()
12249static const char* GetFallbackWindowNameForWindowingList(ImGuiWindow* window)
12250{
12251 if (window->Flags & ImGuiWindowFlags_Popup)
12252 return ImGui::LocalizeGetMsg(ImGuiLocKey_WindowingPopup);
12253 if ((window->Flags & ImGuiWindowFlags_MenuBar) && strcmp(window->Name, "##MainMenuBar") == 0)
12254 return ImGui::LocalizeGetMsg(ImGuiLocKey_WindowingMainMenuBar);
12255 return ImGui::LocalizeGetMsg(ImGuiLocKey_WindowingUntitled);
12256}
12257
12258// Overlay displayed when using CTRL+TAB. Called by EndFrame().
12259void ImGui::NavUpdateWindowingOverlay()

Callers 1

Calls 1

LocalizeGetMsgFunction · 0.85

Tested by

no test coverage detected