Inheritance diagram for BuildRailWaypointWindow:

Public Member Functions | |
| BuildRailWaypointWindow (const WindowDesc *desc, Window *parent) | |
| virtual void | OnPaint () |
| This window is currently being repainted. | |
| virtual void | OnClick (Point pt, int widget) |
| A click with the left mouse button has been made on the window. | |
Private Types | |
| BRWW_CLOSEBOX = 0 | |
| BRWW_CAPTION | |
| BRWW_BACKGROUND | |
| BRWW_WAYPOINT_1 | |
| BRWW_WAYPOINT_2 | |
| BRWW_WAYPOINT_3 | |
| BRWW_WAYPOINT_4 | |
| BRWW_WAYPOINT_5 | |
| BRWW_SCROLL | |
| enum | BuildRailWaypointWidgets { BRWW_CLOSEBOX = 0, BRWW_CAPTION, BRWW_BACKGROUND, BRWW_WAYPOINT_1, BRWW_WAYPOINT_2, BRWW_WAYPOINT_3, BRWW_WAYPOINT_4, BRWW_WAYPOINT_5, BRWW_SCROLL } |
| Enum referring to the widgets of the build NewGRF rail waypoint window. | |
Definition at line 1587 of file rail_gui.cpp.
| virtual void BuildRailWaypointWindow::OnClick | ( | Point | pt, | |
| int | widget | |||
| ) | [inline, virtual] |
A click with the left mouse button has been made on the window.
| pt | the point inside the window that has been clicked. | |
| widget | the clicked widget. |
Reimplemented from Window.
Definition at line 1635 of file rail_gui.cpp.
References _cur_waypoint_type, StationSpec::callbackmask, CBID_STATION_AVAILABILITY, CBM_STATION_AVAIL, GB(), GetCustomStationSpec(), GetStationCallback(), HasBit(), INVALID_TILE, SndPlayFx(), and STAT_CLASS_WAYP.
1.4.7