BuildDocksStationWindow Struct Reference

Inheritance diagram for BuildDocksStationWindow:

PickerWindowBase Window ZeroedMemoryAllocator

Public Member Functions

 BuildDocksStationWindow (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

 BDSW_CLOSE
 BDSW_CAPTION
 BDSW_BACKGROUND
 BDSW_LT_OFF
 BDSW_LT_ON
 BDSW_INFO
enum  BuildDockStationWidgets {
  BDSW_CLOSE, BDSW_CAPTION, BDSW_BACKGROUND, BDSW_LT_OFF,
  BDSW_LT_ON, BDSW_INFO
}

Detailed Description

Definition at line 319 of file dock_gui.cpp.


Member Function Documentation

virtual void BuildDocksStationWindow::OnClick ( Point  pt,
int  widget 
) [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.

Reimplemented from Window.

Definition at line 358 of file dock_gui.cpp.

References _station_show_coverage, Window::LowerWidget(), Window::RaiseWidget(), Window::SetDirty(), and SndPlayFx().


The documentation for this struct was generated from the following file:
Generated on Sat Sep 6 20:15:59 2008 for openttd by  doxygen 1.4.7