Public Member Functions | |
BuildDocksDepotWindow (const WindowDesc *desc, Window *parent) | |
virtual void | OnPaint () |
The window must be repainted. | |
virtual void | OnClick (Point pt, int widget, int click_count) |
A click with the left mouse button has been made on the window. | |
Static Private Member Functions | |
static void | UpdateDocksDirection () |
Definition at line 480 of file dock_gui.cpp.
virtual void BuildDocksDepotWindow::OnClick | ( | Point | pt, | |
int | widget, | |||
int | click_count | |||
) | [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. | |
click_count | Number of fast consecutive clicks at same position |
Reimplemented from Window.
Definition at line 509 of file dock_gui.cpp.
References AXIS_X, Window::LowerWidget(), Window::RaiseWidget(), Window::SetDirty(), WID_BDD_X, and WID_BDD_Y.
virtual void BuildDocksDepotWindow::OnPaint | ( | ) | [inline, virtual] |
The window must be repainted.
Reimplemented from Window.
Definition at line 499 of file dock_gui.cpp.
References AXIS_X, AXIS_Y, DEPOT_PART_NORTH, DEPOT_PART_SOUTH, Window::DrawWidgets(), WID_BDD_X, and WID_BDD_Y.