AirportPickerWindow Class Reference

Inheritance diagram for AirportPickerWindow:
PickerWindowBase Window ZeroedMemoryAllocator

Public Member Functions

 AirportPickerWindow (const WindowDesc *desc, Window *parent)
virtual void OnPaint ()
 The window must be repainted.
void SelectOtherAirport (byte airport_id)
virtual void OnInvalidateData (int data=0)
 Some data on this window has become invalid.
virtual void OnClick (Point pt, int widget, int click_count)
 A click with the left mouse button has been made on the window.
virtual void OnTick ()
 Called once per (game) tick.

Detailed Description

Definition at line 186 of file airport_gui.cpp.


Member Function Documentation

virtual void AirportPickerWindow::OnClick ( Point  pt,
int  widget,
int  click_count 
) [inline, virtual]

A click with the left mouse button has been made on the window.

Parameters:
pt the point inside the window that has been clicked.
widget the clicked widget.
click_count Number of fast consecutive clicks at same position

Reimplemented from Window.

Definition at line 260 of file airport_gui.cpp.

References _settings_client, DeleteWindowById(), ClientSettings::gui, Window::SetWidgetLoweredState(), and GUISettings::station_show_coverage.

virtual void AirportPickerWindow::OnInvalidateData ( int  data = 0  )  [inline, virtual]

Some data on this window has become invalid.

Parameters:
data information about the changed data.

Reimplemented from Window.

Definition at line 245 of file airport_gui.cpp.

References AirportSpec::Get(), and Window::SetWidgetDisabledState().

virtual void AirportPickerWindow::OnPaint (  )  [inline, virtual]

The documentation for this class was generated from the following file:

Generated on Sat Nov 20 20:59:46 2010 for OpenTTD by  doxygen 1.6.1