Inheritance diagram for BuildRoadStationWindow:

Public Member Functions | |
| BuildRoadStationWindow (const WindowDesc *desc, Window *parent, RoadStopType rs) | |
| 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. | |
| virtual void | OnTick () |
| Called once per (game) tick. | |
Private Types | |
| BRSW_CLOSEBOX = 0 | |
| BRSW_CAPTION | |
| BRSW_BACKGROUND | |
| BRSW_STATION_NE | |
| BRSW_STATION_SE | |
| BRSW_STATION_SW | |
| BRSW_STATION_NW | |
| BRSW_STATION_X | |
| BRSW_STATION_Y | |
| BRSW_LT_OFF | |
| BRSW_LT_ON | |
| BRSW_INFO | |
| enum | BuildRoadStationWidgets { BRSW_CLOSEBOX = 0, BRSW_CAPTION, BRSW_BACKGROUND, BRSW_STATION_NE, BRSW_STATION_SE, BRSW_STATION_SW, BRSW_STATION_NW, BRSW_STATION_X, BRSW_STATION_Y, BRSW_LT_OFF, BRSW_LT_ON, BRSW_INFO } |
| Enum referring to the widgets of the build road station window. | |
Definition at line 797 of file road_gui.cpp.
| virtual void BuildRoadStationWindow::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 872 of file road_gui.cpp.
References _road_station_picker_orientation, _station_show_coverage, Window::LowerWidget(), Window::RaiseWidget(), Window::SetDirty(), and SndPlayFx().
1.4.7