Update: Translations from eints
[openttd-github.git] / src / widgets / network_content_widget.h
blob38158272ba1a265d27eebbfb07e40c220fa23cf1
1 /*
2 * This file is part of OpenTTD.
3 * 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.
4 * 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.
5 * 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/>.
6 */
8 /** @file network_content_widget.h Types related to the network content widgets. */
10 #ifndef WIDGETS_NETWORK_CONTENT_WIDGET_H
11 #define WIDGETS_NETWORK_CONTENT_WIDGET_H
13 #include "../textfile_type.h"
15 /** Widgets of the #NetworkContentDownloadStatusWindow class. */
16 enum NetworkContentDownloadStatusWidgets : WidgetID {
17 WID_NCDS_PROGRESS_BAR, ///< Simple progress bar.
18 WID_NCDS_PROGRESS_TEXT, ///< Text explaining what is happening.
19 WID_NCDS_CANCELOK, ///< (Optional) Cancel/OK button.
22 /** Widgets of the #NetworkContentListWindow class. */
23 enum NetworkContentListWidgets : WidgetID {
24 WID_NCL_BACKGROUND, ///< Resize button.
26 WID_NCL_FILTER_CAPT, ///< Caption for the filter editbox.
27 WID_NCL_FILTER, ///< Filter editbox.
29 WID_NCL_CHECKBOX, ///< Button above checkboxes.
30 WID_NCL_TYPE, ///< 'Type' button.
31 WID_NCL_NAME, ///< 'Name' button.
33 WID_NCL_MATRIX, ///< Panel with list of content.
34 WID_NCL_SCROLLBAR, ///< Scrollbar of matrix.
36 WID_NCL_DETAILS, ///< Panel with content details.
37 WID_NCL_TEXTFILE, ///< Open readme, changelog (+1) or license (+2) of a file in the content window.
39 WID_NCL_SELECT_ALL = WID_NCL_TEXTFILE + TFT_CONTENT_END, ///< 'Select all' button.
40 WID_NCL_SELECT_UPDATE, ///< 'Select updates' button.
41 WID_NCL_UNSELECT, ///< 'Unselect all' button.
42 WID_NCL_OPEN_URL, ///< 'Open url' button.
43 WID_NCL_CANCEL, ///< 'Cancel' button.
44 WID_NCL_DOWNLOAD, ///< 'Download' button.
46 WID_NCL_SEL_ALL_UPDATE, ///< #NWID_SELECTION widget for select all/update buttons..
47 WID_NCL_SEARCH_EXTERNAL, ///< Search external sites for missing NewGRF.
50 #endif /* WIDGETS_NETWORK_CONTENT_WIDGET_H */