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