OpenTTD Source 20241224-master-gf74b0cf984
screenshot_gui.h File Reference

GUI functions related to screenshots. More...

Go to the source code of this file.

Functions

void ShowScreenshotWindow ()
 
void SetScreenshotWindowVisibility (bool hide)
 Set the visibility of the screenshot window when taking a screenshot.
 

Detailed Description

GUI functions related to screenshots.

Definition in file screenshot_gui.h.

Function Documentation

◆ SetScreenshotWindowVisibility()

void SetScreenshotWindowVisibility ( bool  hide)

Set the visibility of the screenshot window when taking a screenshot.

Parameters
hideAre we hiding the window or showing it again after the screenshot is taken?

Definition at line 84 of file screenshot_gui.cpp.

References FindWindowById(), Window::left, Window::SetDirty(), and WC_SCREENSHOT.

Referenced by RealMakeScreenshot().

◆ ShowScreenshotWindow()

void ShowScreenshotWindow ( )

Definition at line 74 of file screenshot_gui.cpp.