MCPcopy Create free account
hub / github.com/MrNeRF/LichtFeld-Studio / enqueueModal

Method enqueueModal

src/visualizer/gui/gui_manager.cpp:7211–7218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7209 }
7210
7211 void GuiManager::enqueueModal(lfs::core::ModalRequest request) {
7212 if (!rml_modal_overlay_)
7213 return;
7214
7215 rml_modal_overlay_->enqueue(std::move(request));
7216 if (auto* const window_manager = viewer_ ? viewer_->getWindowManager() : nullptr)
7217 window_manager->wakeEventLoop();
7218 }
7219
7220 bool GuiManager::isVramHudOverlayVisible() const {
7221 return show_vram_hud_ && lfs::diagnostics::VramProfiler::instance().enabled();

Callers 1

executeActionMethod · 0.80

Calls 3

moveFunction · 0.85
wakeEventLoopMethod · 0.80
enqueueMethod · 0.45

Tested by

no test coverage detected