Fix #10490: Allow ships to exit depots if another is not moving at the exit point...
[openttd-github.git] / src / widgets / dropdown_func.h
blob7cc10f56f2b4d9ebf931cd60cfcc78fcfd797ceb
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_func.h Functions related to the drop down widget. */
10 #ifndef WIDGETS_DROPDOWN_FUNC_H
11 #define WIDGETS_DROPDOWN_FUNC_H
13 #include "../window_gui.h"
15 /* Show drop down menu containing a fixed list of strings */
16 void ShowDropDownMenu(Window *w, const StringID *strings, int selected, WidgetID button, uint32_t disabled_mask, uint32_t hidden_mask, uint width = 0);
18 #endif /* WIDGETS_DROPDOWN_FUNC_H */