Feature: Import town data from JSON file (#10409)
[openttd-github.git] / src / widgets / sign_widget.h
blobe8b9a958664b5ec2912ab11c52a8856a412f523d
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 sign_widget.h Types related to the sign widgets. */
10 #ifndef WIDGETS_SIGN_WIDGET_H
11 #define WIDGETS_SIGN_WIDGET_H
13 /** Widgets of the #SignListWindow class. */
14 enum SignListWidgets : WidgetID {
15 /* Name starts with SI instead of S, because of collision with SaveLoadWidgets */
16 WID_SIL_CAPTION, ///< Caption of the window.
17 WID_SIL_LIST, ///< List of signs.
18 WID_SIL_SCROLLBAR, ///< Scrollbar of list.
19 WID_SIL_FILTER_TEXT, ///< Text box for typing a filter string.
20 WID_SIL_FILTER_MATCH_CASE_BTN, ///< Button to toggle if case sensitive filtering should be used.
23 /** Widgets of the #SignWindow class. */
24 enum QueryEditSignWidgets : WidgetID {
25 WID_QES_CAPTION, ///< Caption of the window.
26 WID_QES_LOCATION, ///< Scroll to sign location.
27 WID_QES_TEXT, ///< Text of the query.
28 WID_QES_OK, ///< OK button.
29 WID_QES_CANCEL, ///< Cancel button.
30 WID_QES_DELETE, ///< Delete button.
31 WID_QES_PREVIOUS, ///< Previous button.
32 WID_QES_NEXT, ///< Next button.
35 #endif /* SIGN_WIDGET_H */