2007-12-21 07:38:36 +00:00
|
|
|
/* $Id$ */
|
|
|
|
|
2009-08-21 20:21:05 +00:00
|
|
|
/*
|
|
|
|
* This file is part of OpenTTD.
|
|
|
|
* 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.
|
|
|
|
* 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.
|
|
|
|
* 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/>.
|
|
|
|
*/
|
|
|
|
|
2007-12-21 07:38:36 +00:00
|
|
|
/** @file rail_gui.h Functions/types etc. related to the rail GUI. */
|
|
|
|
|
|
|
|
#ifndef RAIL_GUI_H
|
|
|
|
#define RAIL_GUI_H
|
|
|
|
|
|
|
|
#include "rail_type.h"
|
2011-01-20 12:40:04 +00:00
|
|
|
#include "widgets/dropdown_type.h"
|
2007-12-21 07:38:36 +00:00
|
|
|
|
2010-08-26 22:01:16 +00:00
|
|
|
struct Window *ShowBuildRailToolbar(RailType railtype);
|
2007-12-21 07:38:36 +00:00
|
|
|
void ReinitGuiAfterToggleElrail(bool disable);
|
2009-02-04 15:01:37 +00:00
|
|
|
bool ResetSignalVariant(int32 = 0);
|
2010-05-18 01:10:23 +00:00
|
|
|
void InitializeRailGUI();
|
2011-01-20 12:40:04 +00:00
|
|
|
DropDownList *GetRailTypeDropDownList(bool for_replacement = false);
|
2007-12-21 07:38:36 +00:00
|
|
|
|
|
|
|
#endif /* RAIL_GUI_H */
|