OpenTTD Source 20250605-master-g938acbe6ef
ValuesInterval Struct Reference

Contains the interval of a graph's data. More...

Data Fields

OverflowSafeInt64 highest
 Highest value of this interval. Must be zero or greater.
 
OverflowSafeInt64 lowest
 Lowest value of this interval. Must be zero or less.
 

Detailed Description

Contains the interval of a graph's data.

Definition at line 155 of file graph_gui.cpp.

Field Documentation

◆ highest

OverflowSafeInt64 ValuesInterval::highest

Highest value of this interval. Must be zero or greater.

Definition at line 156 of file graph_gui.cpp.

Referenced by BaseGraphWindow::DrawGraph(), BaseGraphWindow::GetValuesInterval(), and BaseGraphWindow::GetYLabelWidth().

◆ lowest

OverflowSafeInt64 ValuesInterval::lowest

Lowest value of this interval. Must be zero or less.

Definition at line 157 of file graph_gui.cpp.

Referenced by BaseGraphWindow::DrawGraph(), BaseGraphWindow::GetValuesInterval(), and BaseGraphWindow::GetYLabelWidth().


The documentation for this struct was generated from the following file: