OpenTTD Source: src/widgets/graph_widget.h File Reference

OpenTTD Source 14.1

Enumerations
graph_widget.h File Reference
`#include "../economy_type.h"`
`#include "../company_type.h"`

Go to the source code of this file.

## Enumerations
enum | GraphLegendWidgets : WidgetID { WID_GL_BACKGROUND, WID_GL_FIRST_COMPANY, WID_GL_LAST_COMPANY = WID_GL_FIRST_COMPANY + MAX_COMPANIES - 1 }
| Widgets of the GraphLegendWindow class. More...
enum | GraphWidgets : WidgetID { WID_GRAPH_KEY_BUTTON, WID_GRAPH_BACKGROUND, WID_GRAPH_GRAPH, WID_GRAPH_RESIZE, WID_GRAPH_HEADER, WID_GRAPH_FOOTER, WID_PHG_DETAILED_PERFORMANCE, WID_CPR_ENABLE_CARGOES, WID_CPR_DISABLE_CARGOES, WID_CPR_MATRIX, WID_CPR_MATRIX_SCROLLBAR }
| Widgets of the BaseGraphWindow class and derived classes. More...
enum | PerformanceRatingDetailsWidgets : WidgetID { WID_PRD_SCORE_FIRST, WID_PRD_SCORE_LAST = WID_PRD_SCORE_FIRST + (SCORE_END - SCORE_BEGIN) - 1, WID_PRD_COMPANY_FIRST, WID_PRD_COMPANY_LAST = WID_PRD_COMPANY_FIRST + MAX_COMPANIES - 1 }
| Widget of the PerformanceRatingDetailWindow class. More...

## Detailed Description

Types related to the graph widgets.

Definition in file graph_widget.h.

## Enumeration Type Documentation

## ◆ GraphLegendWidgets

enum GraphLegendWidgets : WidgetID

Widgets of the GraphLegendWindow class.

Enumerator
WID_GL_BACKGROUND | Background of the window.
WID_GL_FIRST_COMPANY | First company in the legend.
WID_GL_LAST_COMPANY | Last company in the legend.

Definition at line 17 of file graph_widget.h.

## ◆ GraphWidgets

enum GraphWidgets : WidgetID

Widgets of the BaseGraphWindow class and derived classes.

Enumerator
WID_GRAPH_KEY_BUTTON | Key button.
WID_GRAPH_BACKGROUND | Background of the window.
WID_GRAPH_GRAPH | Graph itself.
WID_GRAPH_RESIZE | Resize button.
WID_GRAPH_HEADER | Header.
WID_GRAPH_FOOTER | Footer.
WID_PHG_DETAILED_PERFORMANCE | Detailed performance.
WID_CPR_ENABLE_CARGOES | Enable cargoes button.
WID_CPR_DISABLE_CARGOES | Disable cargoes button.
WID_CPR_MATRIX | Cargo list.
WID_CPR_MATRIX_SCROLLBAR | Cargo list scrollbar.

Definition at line 25 of file graph_widget.h.

## ◆ PerformanceRatingDetailsWidgets

enum PerformanceRatingDetailsWidgets : WidgetID

Widget of the PerformanceRatingDetailWindow class.

Enumerator
WID_PRD_SCORE_FIRST | First entry in the score list.
WID_PRD_SCORE_LAST | Last entry in the score list.
WID_PRD_COMPANY_FIRST | First company.
WID_PRD_COMPANY_LAST | Last company.

Definition at line 42 of file graph_widget.h.