MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / ScreenshotConfirmationCallback

Function ScreenshotConfirmationCallback

src/screenshot.cpp:342–345  ·  view source on GitHub ↗

* Callback on the confirmation window for huge screenshots. * @param confirmed true on confirmation */

Source from the content-addressed store, hash-verified

340 * @param confirmed true on confirmation
341 */
342static void ScreenshotConfirmationCallback(Window *, bool confirmed)
343{
344 if (confirmed) MakeScreenshot(_confirmed_screenshot_type, {});
345}
346
347/**
348 * Make a screenshot.

Callers

nothing calls this directly

Calls 1

MakeScreenshotFunction · 0.85

Tested by

no test coverage detected