Fix #10490: Allow ships to exit depots if another is not moving at the exit point...
[openttd-github.git] / src / widgets / dropdown_widget.h
blobb9a5f3e17a40c870c74a79e7468b232f41887976
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 dropdown_widget.h Types related to the dropdown widgets. */
10 #ifndef WIDGETS_DROPDOWN_WIDGET_H
11 #define WIDGETS_DROPDOWN_WIDGET_H
13 /** Widgets of the #DropdownWindow class. */
14 enum DropdownMenuWidgets : WidgetID {
15 WID_DM_ITEMS, ///< Panel showing the dropdown items.
16 WID_DM_SHOW_SCROLL, ///< Hide scrollbar if too few items.
17 WID_DM_SCROLL, ///< Scrollbar.
20 #endif /* WIDGETS_DROPDOWN_WIDGET_H */