OpenTTD

- Main Page
- Related Pages
- Modules
- Namespaces
- Data Structures
- Files

- File List
- Globals

link_graph_legend_widget.h
Go to the documentation of this file.
1 /* $Id: link_graph_legend_widget.h 25331 2013-06-08 12:37:36Z zuu $ */
2
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 */
9
12 #ifndef WIDGETS_LINKGRAPH_LEGEND_WIDGET_H
13 #define WIDGETS_LINKGRAPH_LEGEND_WIDGET_H
14
15 #include "../cargo_type.h"
16
19 enum LinkGraphLegendWidgets {
20 WID_LGL_CAPTION,
21 WID_LGL_SATURATION,
22 WID_LGL_SATURATION_FIRST,
23 WID_LGL_SATURATION_LAST = WID_LGL_SATURATION_FIRST + 11,
24 WID_LGL_COMPANIES,
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,
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,
34 };
35
36 #endif /* WIDGETS_LINKGRAPH_LEGEND_WIDGET_H */