Inheritance diagram for AirportPickerWindow:

Public Member Functions | |
| AirportPickerWindow (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. | |
| virtual void | OnTick () |
| Called once per (game) tick. | |
Private Types | |
| BAW_BOTTOMPANEL = 10 | |
| BAW_SMALL_AIRPORT | |
| BAW_CITY_AIRPORT | |
| BAW_HELIPORT | |
| BAW_METRO_AIRPORT | |
| BAW_STR_INTERNATIONAL_AIRPORT | |
| BAW_COMMUTER_AIRPORT | |
| BAW_HELIDEPOT | |
| BAW_STR_INTERCONTINENTAL_AIRPORT | |
| BAW_HELISTATION | |
| BAW_LAST_AIRPORT = BAW_HELISTATION | |
| BAW_AIRPORT_COUNT = BAW_LAST_AIRPORT - BAW_SMALL_AIRPORT + 1 | |
| BAW_BTN_DONTHILIGHT = BAW_LAST_AIRPORT + 1 | |
| BAW_BTN_DOHILIGHT | |
| enum | { BAW_BOTTOMPANEL = 10, BAW_SMALL_AIRPORT, BAW_CITY_AIRPORT, BAW_HELIPORT, BAW_METRO_AIRPORT, BAW_STR_INTERNATIONAL_AIRPORT, BAW_COMMUTER_AIRPORT, BAW_HELIDEPOT, BAW_STR_INTERCONTINENTAL_AIRPORT, BAW_HELISTATION, BAW_LAST_AIRPORT = BAW_HELISTATION, BAW_AIRPORT_COUNT = BAW_LAST_AIRPORT - BAW_SMALL_AIRPORT + 1, BAW_BTN_DONTHILIGHT = BAW_LAST_AIRPORT + 1, BAW_BTN_DOHILIGHT } |
Definition at line 155 of file airport_gui.cpp.
| virtual void AirportPickerWindow::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 239 of file airport_gui.cpp.
References _selected_airport_type, _station_show_coverage, Window::LowerWidget(), Window::RaiseWidget(), Window::SetDirty(), Window::SetWidgetLoweredState(), and SndPlayFx().
1.4.7