28 #include "table/strings.h"
47 this->wp->GetTileArea(&ta, this->vt ==
VEH_TRAIN ? STATION_WAYPOINT : STATION_BUOY);
65 this->GetWidget<NWidgetCore>(
WID_W_CENTER_VIEW)->tool_tip = STR_WAYPOINT_VIEW_CENTER_TOOLTIP;
66 this->GetWidget<NWidgetCore>(
WID_W_RENAME)->tool_tip = STR_WAYPOINT_VIEW_CHANGE_WAYPOINT_NAME;
106 ShowVehicleListWindow(this->
wp->
owner, this->vt, this->wp->index);
118 if (!gui_scope)
return;
140 if (str == NULL)
return;
158 NWidget(
NWID_VIEWPORT, COLOUR_GREY,
WID_W_VIEWPORT),
SetMinimalSize(256, 88),
SetPadding(1, 1, 1, 1),
SetResize(1, 1),
162 NWidget(
WWT_PUSHTXTBTN, COLOUR_GREY,
WID_W_CENTER_VIEW),
SetMinimalSize(100, 12),
SetResize(1, 0),
SetFill(1, 0),
SetDataTip(STR_BUTTON_LOCATION, STR_BUOY_VIEW_CENTER_TOOLTIP),
163 NWidget(
WWT_PUSHTXTBTN, COLOUR_GREY,
WID_W_RENAME),
SetMinimalSize(100, 12),
SetResize(1, 0),
SetFill(1, 0),
SetDataTip(STR_BUTTON_RENAME, STR_BUOY_VIEW_CHANGE_BUOY_NAME),
171 WDP_AUTO,
"view_waypoint", 260, 118,
174 _nested_waypoint_view_widgets,
lengthof(_nested_waypoint_view_widgets)