|
OpenTTD Source
13.2.1
|
#include "stdafx.h"#include "window_func.h"#include "window_gui.h"#include "screenshot.h"#include "widgets/screenshot_widget.h"#include "table/strings.h"#include "gfx_func.h"Go to the source code of this file.
Data Structures | |
| struct | ScreenshotWindow |
Functions | |
| void | ShowScreenshotWindow () |
| void | SetScreenshotWindowVisibility (bool hide) |
| Set the visibility of the screenshot window when taking a screenshot. More... | |
Variables | |
| static const NWidgetPart | _nested_screenshot [] |
| static WindowDesc | _screenshot_window_desc (WDP_AUTO, "take_a_screenshot", 200, 100, WC_SCREENSHOT, WC_NONE, 0, _nested_screenshot, lengthof(_nested_screenshot)) |
GUI functions related to screenshots.
Definition in file screenshot_gui.cpp.
| void SetScreenshotWindowVisibility | ( | bool | hide | ) |
Set the visibility of the screenshot window when taking a screenshot.
| hide | Are we hiding the window or showing it again after the screenshot is taken? |
Definition at line 81 of file screenshot_gui.cpp.
References FindWindowById(), Window::left, Window::SetDirty(), and WC_SCREENSHOT.
Referenced by RealMakeScreenshot().
|
static |
Definition at line 47 of file screenshot_gui.cpp.