|
OpenTTD Source 20251104-master-g3befbdd52f
|
Handling of waypoints gui. More...
#include "stdafx.h"#include "window_gui.h"#include "gui.h"#include "textbuf_gui.h"#include "vehiclelist.h"#include "vehicle_gui.h"#include "viewport_func.h"#include "strings_func.h"#include "command_func.h"#include "company_func.h"#include "company_base.h"#include "window_func.h"#include "waypoint_base.h"#include "waypoint_cmd.h"#include "zoom_func.h"#include "widgets/waypoint_widget.h"#include "table/strings.h"#include "safeguards.h"Go to the source code of this file.
Data Structures | |
| struct | WaypointWindow |
| GUI for accessing waypoints and buoys. More... | |
Functions | |
| void | ShowWaypointWindow (const Waypoint *wp) |
| Show the window for the given waypoint. | |
Variables | |
| static constexpr std::initializer_list< NWidgetPart > | _nested_waypoint_view_widgets |
| The widgets of the waypoint view. | |
| static WindowDesc | _waypoint_view_desc (WDP_AUTO, "view_waypoint", 260, 118, WC_WAYPOINT_VIEW, WC_NONE, {}, _nested_waypoint_view_widgets) |
| The description of the waypoint view. | |
Handling of waypoints gui.
Definition in file waypoint_gui.cpp.
| void ShowWaypointWindow | ( | const Waypoint * | wp | ) |
Show the window for the given waypoint.
| wp | The waypoint to show the window for. |
Definition at line 222 of file waypoint_gui.cpp.
References _waypoint_view_desc, and Pool< Titem, Tindex, Tgrowth_step, Tpool_type, Tcache >::PoolItem< Tpool >::index.
|
staticconstexpr |
The widgets of the waypoint view.
Definition at line 188 of file waypoint_gui.cpp.