diff options
author | truebrain <truebrain@openttd.org> | 2011-12-19 20:46:17 +0000 |
---|---|---|
committer | truebrain <truebrain@openttd.org> | 2011-12-19 20:46:17 +0000 |
commit | bcbdc3933c4aeff90692a1059375b1f590e7c904 (patch) | |
tree | e88b733b9ea32dc510656e425a85b94c779323ee /src/widgets/graph_widget.h | |
parent | 285621eb9ab8218206c99f7338a740fd634e3061 (diff) | |
download | openttd-bcbdc3933c4aeff90692a1059375b1f590e7c904.tar.xz |
(svn r23600) -Codechange: link WC+number to a Widget, and the Widget to a Window class
Diffstat (limited to 'src/widgets/graph_widget.h')
-rw-r--r-- | src/widgets/graph_widget.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/widgets/graph_widget.h b/src/widgets/graph_widget.h index 9a7e347a4..c924dc4bb 100644 --- a/src/widgets/graph_widget.h +++ b/src/widgets/graph_widget.h @@ -14,7 +14,7 @@ #include "../economy_type.h" -/** Widgets of the WC_GRAPH_LEGEND. */ +/** Widgets of the #GraphLegendWindow class. */ enum GraphLegendWidgets { WID_GL_BACKGROUND, ///< Background of the window. @@ -22,7 +22,7 @@ enum GraphLegendWidgets { WID_GL_LAST_COMPANY = WID_GL_FIRST_COMPANY + MAX_COMPANIES - 1, ///< Last company in the legend. }; -/** Widgets of the WC_OPERATING_PROFIT / WC_DELIVERED_CARGO / WC_COMPANY_VALUE / WC_INCOME_GRAPH. */ +/** Widgets of the #OperatingProfitGraphWindow class, #IncomeGraphWindow class, #DeliveredCargoGraphWindow class, and #CompanyValueGraphWindow class. */ enum CompanyValueWidgets { WID_CV_KEY_BUTTON, ///< Key button. WID_CV_BACKGROUND, ///< Background of the window. @@ -30,7 +30,7 @@ enum CompanyValueWidgets { WID_CV_RESIZE, ///< Resize button. }; -/** Widget of the WC_PERFORMANCE_HISTORY. */ +/** Widget of the #PerformanceHistoryGraphWindow class. */ enum PerformanceHistoryGraphWidgets { WID_PHG_KEY, ///< Key button. WID_PHG_DETAILED_PERFORMANCE, ///< Detailed performance. @@ -39,7 +39,7 @@ enum PerformanceHistoryGraphWidgets { WID_PHG_RESIZE, ///< Resize button. }; -/** Widget of the WC_PAYMENT_RATES. */ +/** Widget of the #PaymentRatesGraphWindow class. */ enum CargoPaymentRatesWidgets { WID_CPR_BACKGROUND, ///< Background of the window. WID_CPR_HEADER, ///< Header. @@ -51,12 +51,12 @@ enum CargoPaymentRatesWidgets { WID_CPR_CARGO_FIRST, ///< First cargo in the list. }; -/** Widget of the WC_COMPANY_LEAGUE. */ +/** Widget of the #CompanyLeagueWindow class. */ enum CompanyLeagueWidgets { WID_CL_BACKGROUND, ///< Background of the window. }; -/** Widget of the WC_PERFORMANCE_DETAIL. */ +/** Widget of the #PerformanceRatingDetailWindow class. */ enum PerformanceRatingDetailsWidgets { WID_PRD_SCORE_FIRST, ///< First entry in the score list. WID_PRD_SCORE_LAST = WID_PRD_SCORE_FIRST + (SCORE_END - SCORE_BEGIN) - 1, ///< Last entry in the score list. |