MCPcopy Create free account
hub / github.com/chrxh/alien / processCreateFlashbackButton

Method processCreateFlashbackButton

source/Gui/TemporalControlWindow.cpp:183–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181}
182
183void TemporalControlWindow::processCreateFlashbackButton()
184{
185 auto result = AlienImGui::ToolbarButton(AlienImGui::ToolbarButtonParameters().text(ICON_FA_CAMERA));
186 AlienImGui::Tooltip("Creating in-memory flashback: It saves the content of the current world to the memory.");
187 if (result) {
188 delayedExecution([this] { onSnapshot(); });
189
190 printOverlayMessage("Creating flashback ...", true);
191 }
192}
193
194void TemporalControlWindow::processLoadFlashbackButton()
195{

Callers

nothing calls this directly

Calls 2

delayedExecutionFunction · 0.85
printOverlayMessageFunction · 0.85

Tested by

no test coverage detected