OpenTTD Source 20260512-master-g20b387b91f
linkgraph_gui.h File Reference

Declaration of linkgraph overlay GUI. More...

#include "../company_func.h"
#include "../station_base.h"
#include "../widget_type.h"
#include "../window_gui.h"
#include "linkgraph_base.h"

Go to the source code of this file.

Data Structures

struct  LinkProperties
 Monthly statistics for a link between two stations. More...
class  LinkGraphOverlay
 Handles drawing of links into some window. More...
struct  LinkGraphLegendWindow
 Menu window to select cargoes and companies to show in a link graph overlay. More...

Functions

void ShowLinkGraphLegend ()
 Open a link graph legend window.

Detailed Description

Declaration of linkgraph overlay GUI.

Definition in file linkgraph_gui.h.

Function Documentation

◆ ShowLinkGraphLegend()

void ShowLinkGraphLegend ( )

Open a link graph legend window.

Definition at line 546 of file linkgraph_gui.cpp.

References _linkgraph_legend_desc, and AllocateWindowDescFront().

Referenced by MenuClickMap().