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

OpenTTD Source 13.2.1

sign_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_SIGN_WIDGET_H
11 #define WIDGETS_SIGN_WIDGET_H
12
14 enum SignListWidgets {
15 /* Name starts with SI instead of S, because of collision with SaveLoadWidgets */
16 WID_SIL_CAPTION,
17 WID_SIL_LIST,
18 WID_SIL_SCROLLBAR,
19 WID_SIL_FILTER_TEXT,
20 WID_SIL_FILTER_MATCH_CASE_BTN,
21 WID_SIL_FILTER_ENTER_BTN,
22 };
23
25 enum QueryEditSignWidgets {
26 WID_QES_CAPTION,
27 WID_QES_LOCATION,
28 WID_QES_TEXT,
29 WID_QES_OK,
30 WID_QES_CANCEL,
31 WID_QES_DELETE,
32 WID_QES_PREVIOUS,
33 WID_QES_NEXT,
34 };
35
36 #endif /* SIGN_WIDGET_H */
WID_QES_TEXT
@ WID_QES_TEXT
Text of the query.
Definition: sign_widget.h:28
WID_SIL_SCROLLBAR
@ WID_SIL_SCROLLBAR
Scrollbar of list.
Definition: sign_widget.h:18
WID_QES_DELETE
@ WID_QES_DELETE
Delete button.
Definition: sign_widget.h:31
SignListWidgets
SignListWidgets
Widgets of the SignListWindow class.
Definition: sign_widget.h:14
WID_SIL_FILTER_ENTER_BTN
@ WID_SIL_FILTER_ENTER_BTN
Scroll to first sign.
Definition: sign_widget.h:21
WID_QES_CAPTION
@ WID_QES_CAPTION
Caption of the window.
Definition: sign_widget.h:26
WID_QES_LOCATION
@ WID_QES_LOCATION
Scroll to sign location.
Definition: sign_widget.h:27
WID_SIL_CAPTION
@ WID_SIL_CAPTION
Caption of the window.
Definition: sign_widget.h:16
WID_QES_OK
@ WID_QES_OK
OK button.
Definition: sign_widget.h:29
WID_QES_CANCEL
@ WID_QES_CANCEL
Cancel button.
Definition: sign_widget.h:30
WID_SIL_LIST
@ WID_SIL_LIST
List of signs.
Definition: sign_widget.h:17
QueryEditSignWidgets
QueryEditSignWidgets
Widgets of the SignWindow class.
Definition: sign_widget.h:25
WID_QES_PREVIOUS
@ WID_QES_PREVIOUS
Previous button.
Definition: sign_widget.h:32
WID_QES_NEXT
@ WID_QES_NEXT
Next button.
Definition: sign_widget.h:33
WID_SIL_FILTER_TEXT
@ WID_SIL_FILTER_TEXT
Text box for typing a filter string.
Definition: sign_widget.h:19
WID_SIL_FILTER_MATCH_CASE_BTN
@ WID_SIL_FILTER_MATCH_CASE_BTN
Button to toggle if case sensitive filtering should be used.
Definition: sign_widget.h:20