PerformanceHistoryGraphWindow Struct Reference

Inheritance diagram for PerformanceHistoryGraphWindow:
BaseGraphWindow Window ZeroedMemoryAllocator

Public Member Functions

 PerformanceHistoryGraphWindow (const WindowDesc *desc, WindowNumber window_number)
virtual OverflowSafeInt64 GetGraphData (const Company *c, int j)
virtual void OnClick (Point pt, int widget, int click_count)
 A click with the left mouse button has been made on the window.

Detailed Description

Definition at line 724 of file graph_gui.cpp.


Member Function Documentation

virtual void PerformanceHistoryGraphWindow::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 BaseGraphWindow.

Definition at line 736 of file graph_gui.cpp.


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

Generated on Sun Nov 14 14:42:58 2010 for OpenTTD by  doxygen 1.6.1