OpenTTD Source
20241121-master-g67a0fccfad
|
Implementation of linkgraph overlay GUI. More...
#include "../stdafx.h"
#include "../window_gui.h"
#include "../window_func.h"
#include "../company_base.h"
#include "../company_gui.h"
#include "../timer/timer_game_tick.h"
#include "../timer/timer_game_calendar.h"
#include "../viewport_func.h"
#include "../zoom_func.h"
#include "../smallmap_gui.h"
#include "../core/geometry_func.hpp"
#include "../widgets/link_graph_legend_widget.h"
#include "../strings_func.h"
#include "linkgraph_gui.h"
#include "table/strings.h"
#include "../safeguards.h"
Go to the source code of this file.
Functions | |
std::unique_ptr< NWidgetBase > | MakeCompanyButtonRowsLinkGraphGUI () |
Make a number of rows with buttons for each company for the linkgraph legend window. | |
std::unique_ptr< NWidgetBase > | MakeSaturationLegendLinkGraphGUI () |
std::unique_ptr< NWidgetBase > | MakeCargoesLegendLinkGraphGUI () |
void | ShowLinkGraphLegend () |
Open a link graph legend window. | |
Variables | |
static constexpr NWidgetPart | _nested_linkgraph_legend_widgets [] |
static WindowDesc | _linkgraph_legend_desc (WDP_AUTO, "toolbar_linkgraph", 0, 0, WC_LINKGRAPH_LEGEND, WC_NONE, 0, _nested_linkgraph_legend_widgets) |
Implementation of linkgraph overlay GUI.
Definition in file linkgraph_gui.cpp.
|
staticconstexpr |
Definition at line 506 of file linkgraph_gui.cpp.