BuildDocksDepotWindow Struct Reference

Inheritance diagram for BuildDocksDepotWindow:

PickerWindowBase Window ZeroedMemoryAllocator

Public Member Functions

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

 BDDW_CLOSE
 BDDW_CAPTION
 BDDW_BACKGROUND
 BDDW_X
 BDDW_Y
enum  BuildDockDepotWidgets {
  BDDW_CLOSE, BDDW_CAPTION, BDDW_BACKGROUND, BDDW_X,
  BDDW_Y
}

Static Private Member Functions

static void UpdateDocksDirection ()

Detailed Description

Definition at line 400 of file dock_gui.cpp.


Member Function Documentation

virtual void BuildDocksDepotWindow::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 437 of file dock_gui.cpp.

References _ship_depot_direction, AXIS_X, AXIS_Y, Window::LowerWidget(), Window::RaiseWidget(), Window::SetDirty(), SndPlayFx(), and UpdateDocksDirection().


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