MCPcopy Create free account
hub / github.com/cinder/Cinder / GetFallbackWindowNameForWindowingList

Function GetFallbackWindowNameForWindowingList

src/imgui/imgui.cpp:14430–14437  ·  view source on GitHub ↗

Window has already passed the IsWindowNavFocusable()

Source from the content-addressed store, hash-verified

14428
14429// Window has already passed the IsWindowNavFocusable()
14430static const char* GetFallbackWindowNameForWindowingList(ImGuiWindow* window)
14431{
14432 if (window->Flags & ImGuiWindowFlags_Popup)
14433 return ImGui::LocalizeGetMsg(ImGuiLocKey_WindowingPopup);
14434 if ((window->Flags & ImGuiWindowFlags_MenuBar) && strcmp(window->Name, "##MainMenuBar") == 0)
14435 return ImGui::LocalizeGetMsg(ImGuiLocKey_WindowingMainMenuBar);
14436 return ImGui::LocalizeGetMsg(ImGuiLocKey_WindowingUntitled);
14437}
14438
14439// Overlay displayed when using CTRL+TAB. Called by EndFrame().
14440void ImGui::NavUpdateWindowingOverlay()

Callers 1

Calls 1

LocalizeGetMsgFunction · 0.85

Tested by

no test coverage detected