OpenTTD Source
20241108-master-g80f628063a
|
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. More... | |
Variables | |
static constexpr NWidgetPart | _nested_waypoint_view_widgets [] |
The widgets of the waypoint view. More... | |
static WindowDesc | _waypoint_view_desc (WDP_AUTO, "view_waypoint", 260, 118, WC_WAYPOINT_VIEW, WC_NONE, 0, _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 223 of file waypoint_gui.cpp.
References _waypoint_view_desc, and Pool< Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero >::PoolItem< Tpool >::index.
|
staticconstexpr |
The widgets of the waypoint view.
Definition at line 189 of file waypoint_gui.cpp.