(svn r27729) -Codechange: Do not count static NewGRF when checking for the maximum...
[openttd.git] / src / widgets / link_graph_legend_widget.h
blob9537b896df3d6250ed38fcfbe599ce1a5237f70c
1 /* $Id$ */
3 /*
4 * This file is part of OpenTTD.
5 * 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.
6 * 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.
7 * 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/>.
8 */
10 /** @file link_graph_legend_widget.h Types related to the linkgraph_legend widgets. */
12 #ifndef WIDGETS_LINKGRAPH_LEGEND_WIDGET_H
13 #define WIDGETS_LINKGRAPH_LEGEND_WIDGET_H
15 #include "../cargo_type.h"
17 /** Widgets of the WC_LINKGRAPH_LEGEND. */
19 enum LinkGraphLegendWidgets {
20 WID_LGL_CAPTION, ///< Caption widget.
21 WID_LGL_SATURATION, ///< Saturation legend.
22 WID_LGL_SATURATION_FIRST,
23 WID_LGL_SATURATION_LAST = WID_LGL_SATURATION_FIRST + 11,
24 WID_LGL_COMPANIES, ///< Company selection widget.
25 WID_LGL_COMPANY_FIRST,
26 WID_LGL_COMPANY_LAST = WID_LGL_COMPANY_FIRST + MAX_COMPANIES - 1,
27 WID_LGL_COMPANIES_ALL,
28 WID_LGL_COMPANIES_NONE,
29 WID_LGL_CARGOES, ///< Cargo selection widget.
30 WID_LGL_CARGO_FIRST,
31 WID_LGL_CARGO_LAST = WID_LGL_CARGO_FIRST + NUM_CARGO - 1,
32 WID_LGL_CARGOES_ALL,
33 WID_LGL_CARGOES_NONE,
36 #endif /* WIDGETS_LINKGRAPH_LEGEND_WIDGET_H */