Update readme and changelog for v1.26.0
[openttd-joker.git] / src / widgets / link_graph_legend_widget.h
blob6e6e2ca74231f6ed0b0b6b51010c456be8b5787a
1 /* $Id: link_graph_legend_widget.h 25331 2013-06-08 12:37:36Z zuu $ */
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 */