|
OpenTTD
|
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 "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 const 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, 0, _nested_waypoint_view_widgets, lengthof(_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 181 of file waypoint_gui.cpp.
References _waypoint_view_desc, and Pool< Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero >::PoolItem< Tpool >::index.
|
static |
The widgets of the waypoint view.
Definition at line 148 of file waypoint_gui.cpp.
|
static |
The description of the waypoint view.
Referenced by ShowWaypointWindow().
1.8.1.2