Inheritance diagram for BuildRoadDepotWindow:

Public Member Functions | |
| BuildRoadDepotWindow (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 | |
| BRDW_CLOSEBOX = 0 | |
| BRDW_CAPTION | |
| BRDW_BACKGROUND | |
| BRDW_DEPOT_NE | |
| BRDW_DEPOT_SE | |
| BRDW_DEPOT_SW | |
| BRDW_DEPOT_NW | |
| enum | BuildRoadDepotWidgets { BRDW_CLOSEBOX = 0, BRDW_CAPTION, BRDW_BACKGROUND, BRDW_DEPOT_NE, BRDW_DEPOT_SE, BRDW_DEPOT_SW, BRDW_DEPOT_NW } |
| Enum referring to the widgets of the build road depot window. | |
Definition at line 719 of file road_gui.cpp.
| virtual void BuildRoadDepotWindow::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 753 of file road_gui.cpp.
References _road_depot_orientation, Window::LowerWidget(), Window::RaiseWidget(), Window::SetDirty(), and SndPlayFx().
1.4.7