OpenTTD Source: src/widgets/network_content_widget.h Source File

OpenTTD Source 13.1

network_content_widget.h
Go to the documentation of this file.
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 */
7
10 #ifndef WIDGETS_NETWORK_CONTENT_WIDGET_H
11 #define WIDGETS_NETWORK_CONTENT_WIDGET_H
12
13 #include "../textfile_type.h"
14
16 enum NetworkContentDownloadStatusWidgets {
17 WID_NCDS_PROGRESS_BAR,
18 WID_NCDS_PROGRESS_TEXT,
19 WID_NCDS_CANCELOK,
20 };
21
23 enum NetworkContentListWidgets {
24 WID_NCL_BACKGROUND,
25
26 WID_NCL_FILTER_CAPT,
27 WID_NCL_FILTER,
28
29 WID_NCL_CHECKBOX,
30 WID_NCL_TYPE,
31 WID_NCL_NAME,
32
33 WID_NCL_MATRIX,
34 WID_NCL_SCROLLBAR,
35
36 WID_NCL_DETAILS,
37 WID_NCL_TEXTFILE,
38
39 WID_NCL_SELECT_ALL = WID_NCL_TEXTFILE + TFT_END,
40 WID_NCL_SELECT_UPDATE,
41 WID_NCL_UNSELECT,
42 WID_NCL_OPEN_URL,
43 WID_NCL_CANCEL,
44 WID_NCL_DOWNLOAD,
45
46 WID_NCL_SEL_ALL_UPDATE,
47 WID_NCL_SEARCH_EXTERNAL,
48 };
49
50 #endif /* WIDGETS_NETWORK_CONTENT_WIDGET_H */
WID_NCL_NAME
@ WID_NCL_NAME
'Name' button.
Definition: network_content_widget.h:31
WID_NCL_DETAILS
@ WID_NCL_DETAILS
Panel with content details.
Definition: network_content_widget.h:36
WID_NCL_MATRIX
@ WID_NCL_MATRIX
Panel with list of content.
Definition: network_content_widget.h:33
WID_NCL_SCROLLBAR
@ WID_NCL_SCROLLBAR
Scrollbar of matrix.
Definition: network_content_widget.h:34
WID_NCL_UNSELECT
@ WID_NCL_UNSELECT
'Unselect all' button.
Definition: network_content_widget.h:41
WID_NCL_DOWNLOAD
@ WID_NCL_DOWNLOAD
'Download' button.
Definition: network_content_widget.h:44
WID_NCL_CHECKBOX
@ WID_NCL_CHECKBOX
Button above checkboxes.
Definition: network_content_widget.h:29
WID_NCL_BACKGROUND
@ WID_NCL_BACKGROUND
Resize button.
Definition: network_content_widget.h:24
WID_NCL_FILTER_CAPT
@ WID_NCL_FILTER_CAPT
Caption for the filter editbox.
Definition: network_content_widget.h:26
WID_NCL_FILTER
@ WID_NCL_FILTER
Filter editbox.
Definition: network_content_widget.h:27
WID_NCDS_PROGRESS_BAR
@ WID_NCDS_PROGRESS_BAR
Simple progress bar.
Definition: network_content_widget.h:17
WID_NCL_CANCEL
@ WID_NCL_CANCEL
'Cancel' button.
Definition: network_content_widget.h:43
WID_NCL_SEL_ALL_UPDATE
@ WID_NCL_SEL_ALL_UPDATE
NWID_SELECTION widget for select all/update buttons..
Definition: network_content_widget.h:46
WID_NCL_SEARCH_EXTERNAL
@ WID_NCL_SEARCH_EXTERNAL
Search external sites for missing NewGRF.
Definition: network_content_widget.h:47
WID_NCDS_PROGRESS_TEXT
@ WID_NCDS_PROGRESS_TEXT
Text explaining what is happening.
Definition: network_content_widget.h:18
WID_NCL_TEXTFILE
@ WID_NCL_TEXTFILE
Open readme, changelog (+1) or license (+2) of a file in the content window.
Definition: network_content_widget.h:37
WID_NCDS_CANCELOK
@ WID_NCDS_CANCELOK
(Optional) Cancel/OK button.
Definition: network_content_widget.h:19
WID_NCL_TYPE
@ WID_NCL_TYPE
'Type' button.
Definition: network_content_widget.h:30
NetworkContentDownloadStatusWidgets
NetworkContentDownloadStatusWidgets
Widgets of the NetworkContentDownloadStatusWindow class.
Definition: network_content_widget.h:16
WID_NCL_SELECT_UPDATE
@ WID_NCL_SELECT_UPDATE
'Select updates' button.
Definition: network_content_widget.h:40
WID_NCL_OPEN_URL
@ WID_NCL_OPEN_URL
'Open url' button.
Definition: network_content_widget.h:42
NetworkContentListWidgets
NetworkContentListWidgets
Widgets of the NetworkContentListWindow class.
Definition: network_content_widget.h:23
WID_NCL_SELECT_ALL
@ WID_NCL_SELECT_ALL
'Select all' button.
Definition: network_content_widget.h:39