Fix: Data races on cursor state in OpenGL backends
[openttd-github.git] / src / rail_gui.h
blob29a1b9b161cee263245fc5ab13352bf28595cd74
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 rail_gui.h Functions/types etc. related to the rail GUI. */
10 #ifndef RAIL_GUI_H
11 #define RAIL_GUI_H
13 #include "rail_type.h"
14 #include "widgets/dropdown_type.h"
16 struct Window *ShowBuildRailToolbar(RailType railtype);
17 void ReinitGuiAfterToggleElrail(bool disable);
18 bool ResetSignalVariant(int32 = 0);
19 void InitializeRailGUI();
20 DropDownList GetRailTypeDropDownList(bool for_replacement = false, bool all_option = false);
22 #endif /* RAIL_GUI_H */