OpenTTD Source  20241121-master-g67a0fccfad
graph_widget.h
Go to the documentation of this file.
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  */
7 
10 #ifndef WIDGETS_GRAPH_WIDGET_H
11 #define WIDGETS_GRAPH_WIDGET_H
12 
13 #include "../economy_type.h"
14 #include "../company_type.h"
15 
19 
22 };
23 
33 
38 
40 };
41 
46 
49 };
50 
51 #endif /* WIDGETS_GRAPH_WIDGET_H */
@ MAX_COMPANIES
Maximum number of companies.
Definition: company_type.h:23
@ SCORE_END
How many scores are there..
Definition: economy_type.h:72
GraphWidgets
Widgets of the BaseGraphWindow class and derived classes.
Definition: graph_widget.h:25
@ WID_GRAPH_FOOTER
Footer.
Definition: graph_widget.h:32
@ WID_GRAPH_RESIZE
Resize button.
Definition: graph_widget.h:30
@ WID_GRAPH_BACKGROUND
Background of the window.
Definition: graph_widget.h:27
@ WID_GRAPH_GRAPH
Graph itself.
Definition: graph_widget.h:29
@ WID_PHG_DETAILED_PERFORMANCE
Detailed performance.
Definition: graph_widget.h:39
@ WID_GRAPH_HEADER
Header.
Definition: graph_widget.h:31
@ WID_GRAPH_MATRIX_SCROLLBAR
Cargo list scrollbar.
Definition: graph_widget.h:37
@ WID_GRAPH_DISABLE_CARGOES
Disable cargoes button.
Definition: graph_widget.h:35
@ WID_GRAPH_CAPTION
Caption.
Definition: graph_widget.h:28
@ WID_GRAPH_KEY_BUTTON
Key button.
Definition: graph_widget.h:26
@ WID_GRAPH_MATRIX
Cargo list.
Definition: graph_widget.h:36
@ WID_GRAPH_ENABLE_CARGOES
Enable cargoes button.
Definition: graph_widget.h:34
GraphLegendWidgets
Widgets of the GraphLegendWindow class.
Definition: graph_widget.h:17
@ WID_GL_FIRST_COMPANY
First company in the legend.
Definition: graph_widget.h:20
@ WID_GL_LAST_COMPANY
Last company in the legend.
Definition: graph_widget.h:21
@ WID_GL_BACKGROUND
Background of the window.
Definition: graph_widget.h:18
PerformanceRatingDetailsWidgets
Widget of the PerformanceRatingDetailWindow class.
Definition: graph_widget.h:43
@ WID_PRD_COMPANY_FIRST
First company.
Definition: graph_widget.h:47
@ WID_PRD_SCORE_FIRST
First entry in the score list.
Definition: graph_widget.h:44
@ WID_PRD_SCORE_LAST
Last entry in the score list.
Definition: graph_widget.h:45
@ WID_PRD_COMPANY_LAST
Last company.
Definition: graph_widget.h:48
int WidgetID
Widget ID.
Definition: window_type.h:18