summaryrefslogtreecommitdiff
path: root/src/widgets
diff options
context:
space:
mode:
authorpnda <43609023+ThePNDA@users.noreply.github.com>2019-04-29 16:58:15 +0200
committerCharles Pigott <charlespigott@googlemail.com>2020-01-01 10:19:12 +0000
commite558aa8ff461ddf660240c9ed209e7d2823f0b2b (patch)
treefb61aff1c36a34234f64db428575d104652dca48 /src/widgets
parent90f4abe03f7c1e1abeae3b2a2b4a37dd6086ded6 (diff)
downloadopenttd-e558aa8ff461ddf660240c9ed209e7d2823f0b2b.tar.xz
Feature: Screenshot window
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/screenshot_widget.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/widgets/screenshot_widget.h b/src/widgets/screenshot_widget.h
new file mode 100644
index 000000000..40a0da246
--- /dev/null
+++ b/src/widgets/screenshot_widget.h
@@ -0,0 +1,25 @@
+/*
+ * This file is part of OpenTTD.
+ * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
+ * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+/** @file screenshot_widget.h Types related to the screenshot widgets. */
+
+#ifndef WIDGETS_SCREENSHOT_WIDGET_H
+#define WIDGETS_SCREENSHOT_WIDGET_H
+
+/** Widgets of the #ScreenshotWindow class. */
+
+enum ScreenshotWindowWidgets {
+ WID_SC_TAKE, ///< Button for taking a normal screenshot
+ WID_SC_TAKE_ZOOMIN, ///< Button for taking a zoomed in screenshot
+ WID_SC_TAKE_DEFAULTZOOM, ///< Button for taking a screenshot at normal zoom
+ WID_SC_TAKE_WORLD, ///< Button for taking a screenshot of the whole world
+ WID_SC_TAKE_HEIGHTMAP, ///< Button for taking a heightmap "screenshot"
+};
+
+
+#endif /* WIDGETS_SCREENSHOT_WIDGET_H */
+