Fix: CmdSetAutoReplace didn't validate group type and engine type match (#9950)
[openttd-github.git] / src / widgets / date_widget.h
blob3b397dae47486a704b17e63556c2230de8c56925
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 date_widget.h Types related to the date widgets. */
10 #ifndef WIDGETS_DATE_WIDGET_H
11 #define WIDGETS_DATE_WIDGET_H
13 /** Widgets of the #SetDateWindow class. */
14 enum SetDateWidgets {
15 WID_SD_DAY, ///< Dropdown for the day.
16 WID_SD_MONTH, ///< Dropdown for the month.
17 WID_SD_YEAR, ///< Dropdown for the year.
18 WID_SD_SET_DATE, ///< Actually set the date.
21 #endif /* WIDGETS_DATE_WIDGET_H */