OpenTTD

sign_widget.h
Go to the documentation of this file.
1 /* $Id: sign_widget.h 27020 2014-10-15 18:31:37Z rubidium $ */
2
3 /*
4 * This file is part of OpenTTD.
5 * 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.
6 * 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.
7 * 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/>.
8 */
9
12 #ifndef WIDGETS_SIGN_WIDGET_H
13 #define WIDGETS_SIGN_WIDGET_H
14
16 enum SignListWidgets {
17 /* Name starts with SI instead of S, because of collision with SaveLoadWidgets */
18 WID_SIL_CAPTION,
19 WID_SIL_LIST,
20 WID_SIL_SCROLLBAR,
21 WID_SIL_FILTER_TEXT,
22 WID_SIL_FILTER_MATCH_CASE_BTN,
23 WID_SIL_FILTER_ENTER_BTN,
24 };
25
27 enum QueryEditSignWidgets {
28 WID_QES_CAPTION,
29 WID_QES_TEXT,
30 WID_QES_OK,
31 WID_QES_CANCEL,
32 WID_QES_DELETE,
33 WID_QES_PREVIOUS,
34 WID_QES_NEXT,
35 };
36
37 #endif /* SIGN_WIDGET_H */
SignListWidgets
SignListWidgets
Widgets of the SignListWindow class.
Definition: sign_widget.h:16
QueryEditSignWidgets
QueryEditSignWidgets
Widgets of the SignWindow class.
Definition: sign_widget.h:27
WID_SIL_LIST
List of signs.
Definition: sign_widget.h:19
WID_SIL_SCROLLBAR
Scrollbar of list.
Definition: sign_widget.h:20
WID_QES_TEXT
Text of the query.
Definition: sign_widget.h:29
WID_SIL_FILTER_TEXT
Text box for typing a filter string.
Definition: sign_widget.h:21
WID_QES_DELETE
Delete button.
Definition: sign_widget.h:32
WID_SIL_FILTER_ENTER_BTN
Scroll to first sign.
Definition: sign_widget.h:23
WID_QES_OK
OK button.
Definition: sign_widget.h:30
WID_QES_CAPTION
Caption of the window.
Definition: sign_widget.h:28
WID_QES_CANCEL
Cancel button.
Definition: sign_widget.h:31
WID_QES_NEXT
Next button.
Definition: sign_widget.h:34
WID_SIL_FILTER_MATCH_CASE_BTN
Button to toggle if case sensitive filtering should be used.
Definition: sign_widget.h:22
WID_SIL_CAPTION
Caption of the window.
Definition: sign_widget.h:18
WID_QES_PREVIOUS
Previous button.
Definition: sign_widget.h:33