|
OpenTTD Source
14.0-beta3
|
#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 (__FILE__, __LINE__, WDP_AUTO, "toolbar_linkgraph", 0, 0, WC_LINKGRAPH_LEGEND, WC_NONE, 0, std::begin(_nested_linkgraph_legend_widgets), std::end(_nested_linkgraph_legend_widgets)) |
Implementation of linkgraph overlay GUI.
Definition in file linkgraph_gui.cpp.
|
staticconstexpr |
Definition at line 511 of file linkgraph_gui.cpp.