MCPcopy Create free account
hub / github.com/MrDrElliot/LuminaEngine / DrawProjectMenu

Method DrawProjectMenu

Engine/Editor/Source/UI/EditorUI.cpp:2336–2353  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2334 ShowDrawer(Drawer);
2335 }
2336
2337 void FEditorUI::DrawStatusBar(const FUpdateContext& UpdateContext)
2338 {
2339 bDrawerActivatedThisFrame = false;
2340
2341 // Global drawer shortcuts (suppressed while typing into a text field).
2342 if (!ImGui::GetIO().WantTextInput)
2343 {
2344 for (FFooterDrawer& Drawer : FooterDrawers)
2345 {
2346 if (Drawer.Shortcut != 0 && ImGui::IsKeyChordPressed(Drawer.Shortcut))
2347 {
2348 ActivateDrawer(Drawer);
2349 }
2350 }
2351 }
2352
2353 // Backtick works like a game console, opening the log ready to type and closing it from the command line.
2354 if (ConsoleLogTool != nullptr && ImGui::IsKeyPressed(ImGuiKey_GraveAccent, false) && ImGui::GetIO().KeyMods == ImGuiMod_None)
2355 {
2356 if (FFooterDrawer* ConsoleDrawer = FindDrawerForTool(ConsoleLogTool))

Callers

nothing calls this directly

Calls 1

SeparatorClass · 0.85

Tested by

no test coverage detected