Fix #8316: Make sort industries by production and transported with a cargo filter...
[openttd-github.git] / src / rail_gui.h
blob81fb8f6271a16162d8974d9bcfd64beafaf928fb
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 void ResetSignalVariant(int32 = 0);
19 void InitializeRailGUI();
20 DropDownList GetRailTypeDropDownList(bool for_replacement = false, bool all_option = false);
22 #endif /* RAIL_GUI_H */