summaryrefslogtreecommitdiff
path: root/src/widgets
diff options
context:
space:
mode:
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.