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/company_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/company_widget.h')
-rw-r--r-- | src/widgets/company_widget.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/widgets/company_widget.h b/src/widgets/company_widget.h index 0e750a406..4c1a5df4b 100644 --- a/src/widgets/company_widget.h +++ b/src/widgets/company_widget.h @@ -12,7 +12,7 @@ #ifndef WIDGETS_COMPANY_WIDGET_H #define WIDGETS_COMPANY_WIDGET_H -/** Widgets of the WC_COMPANY. */ +/** Widgets of the #CompanyWindow class. */ enum CompanyWidgets { WID_C_CAPTION, ///< Caption of the window. @@ -54,7 +54,7 @@ enum CompanyWidgets { WID_C_COMPANY_JOIN, ///< Button to join company. }; -/** Widgets of the WC_FINANCES. */ +/** Widgets of the #CompanyFinancesWindow class. */ enum CompanyFinancesWidgets { WID_CF_CAPTION, ///< Caption of the window. WID_CF_TOGGLE_SIZE, ///< Toggle windows size. @@ -78,7 +78,7 @@ enum CompanyFinancesWidgets { }; -/** Widgets of the WC_COMPANY_COLOUR. */ +/** Widgets of the #SelectCompanyLiveryWindow class. */ enum SelectCompanyLiveryWidgets { WID_SCL_CAPTION, ///< Caption of window. WID_SCL_CLASS_GENERAL, ///< Class general. @@ -93,7 +93,8 @@ enum SelectCompanyLiveryWidgets { }; -/** Widgets of the WC_COMPANY_MANAGER_FACE. +/** + * Widgets of the #SelectCompanyManagerFaceWindow class. * Do not change the order of the widgets from WID_SCMF_HAS_MOUSTACHE_EARRING to WID_SCMF_GLASSES_R, * this order is needed for the WE_CLICK event of DrawFaceStringLabel(). */ @@ -164,7 +165,7 @@ enum SelectCompanyManagerFaceWidgets { WID_SCMF_GLASSES_R, ///< Glasses right. }; -/** Widgets of the WC_COMPANY_INFRASTRUCTURE. */ +/** Widgets of the #CompanyInfrastructureWindow class. */ enum CompanyInfrastructureWidgets { WID_CI_CAPTION, ///< Caption of window. WID_CI_RAIL_DESC, ///< Description of rail. @@ -179,7 +180,7 @@ enum CompanyInfrastructureWidgets { WID_CI_TOTAL, ///< Count of total. }; -/** Widgets of the WC_BUY_COMPANY. */ +/** Widgets of the #BuyCompanyWindow class. */ enum BuyCompanyWidgets { WID_BC_CAPTION, ///< Caption of window. WID_BC_FACE, ///< Face button. |