summaryrefslogtreecommitdiff
path: root/src/widgets
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2012-08-20 21:03:50 +0000
committeryexo <yexo@openttd.org>2012-08-20 21:03:50 +0000
commit053770d4a6827e73aea5074015dc2764f5099f12 (patch)
tree96a52d0905c9b76231f7f82d1cb0ab9a27d2c974 /src/widgets
parentfe31aa28c422f1fab32ab3b72d8369d539c8496e (diff)
downloadopenttd-053770d4a6827e73aea5074015dc2764f5099f12.tar.xz
(svn r24488) -Feature [FS#5236]: add buttons to view textfiles from the online content window (LordAro)
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/network_content_widget.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/widgets/network_content_widget.h b/src/widgets/network_content_widget.h
index 383cf725e..d90afb3d4 100644
--- a/src/widgets/network_content_widget.h
+++ b/src/widgets/network_content_widget.h
@@ -12,6 +12,8 @@
#ifndef WIDGETS_NETWORK_CONTENT_WIDGET_H
#define WIDGETS_NETWORK_CONTENT_WIDGET_H
+#include "../textfile_type.h"
+
/** Widgets of the #NetworkContentDownloadStatusWindow class. */
enum NetworkContentDownloadStatusWidgets {
WID_NCDS_BACKGROUND, ///< Background of the window.
@@ -33,8 +35,9 @@ enum NetworkContentListWidgets {
WID_NCL_SCROLLBAR, ///< Scrollbar of matrix.
WID_NCL_DETAILS, ///< Panel with content details.
+ WID_NCL_TEXTFILE, ///< Open readme, changelog (+1) or license (+2) of a file in the content window.
- WID_NCL_SELECT_ALL, ///< 'Select all' button.
+ WID_NCL_SELECT_ALL = WID_NCL_TEXTFILE + TFT_END, ///< 'Select all' button.
WID_NCL_SELECT_UPDATE, ///< 'Select updates' button.
WID_NCL_UNSELECT, ///< 'Unselect all' button.
WID_NCL_OPEN_URL, ///< 'Open url' button.