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/network_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/network_widget.h')
-rw-r--r-- | src/widgets/network_widget.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/widgets/network_widget.h b/src/widgets/network_widget.h index 47f95c90e..1c1c0f01e 100644 --- a/src/widgets/network_widget.h +++ b/src/widgets/network_widget.h @@ -12,7 +12,7 @@ #ifndef WIDGETS_NETWORK_WIDGET_H #define WIDGETS_NETWORK_WIDGET_H -/** Widgets of the WC_NETWORK_WINDOW (WC_NETWORK_WINDOW is also used in NetworkContentListWidgets, NetworkStartServerWidgets, and NetworkLobbyWidgets). */ +/** Widgets of the #NetworkGameWindow class. */ enum NetworkGameWidgets { WID_NG_MAIN, ///< Main panel. @@ -51,7 +51,7 @@ enum NetworkGameWidgets { WID_NG_CANCEL, ///< 'Cancel' button. }; -/** Widgets of the WC_NETWORK_WINDOW (WC_NETWORK_WINDOW is also used in NetworkContentListWidgets, NetworkGameWidgets, and NetworkLobbyWidgets). */ +/** Widgets of the #NetworkStartServerWindow class. */ enum NetworkStartServerWidgets { WID_NSS_BACKGROUND, ///< Background of the window. WID_NSS_GAMENAME_LABEL, ///< Label for the game name. @@ -83,7 +83,7 @@ enum NetworkStartServerWidgets { WID_NSS_CANCEL, ///< 'Cancel' button. }; -/** Widgets of the WC_NETWORK_WINDOW (WC_NETWORK_WINDOW is also used in NetworkContentListWidgets, NetworkGameWidgets, and NetworkStartServerWidgets). */ +/** Widgets of the #NetworkLobbyWindow class. */ enum NetworkLobbyWidgets { WID_NL_BACKGROUND, ///< Background of the window. WID_NL_TEXT, ///< Heading text. @@ -98,23 +98,23 @@ enum NetworkLobbyWidgets { WID_NL_CANCEL, ///< 'Cancel' button. }; -/** Widgets of the WC_CLIENT_LIST. */ +/** Widgets of the #NetworkClientListWindow class. */ enum ClientListWidgets { WID_CL_PANEL, ///< Panel of the window. }; -/** Widgets of the WC_CLIENT_LIST_POPUP. */ +/** Widgets of the #NetworkClientListPopupWindow class. */ enum ClientListPopupWidgets { WID_CLP_PANEL, ///< Panel of the window. }; -/** Widgets of the WC_NETWORK_STATUS_WINDOW (WC_NETWORK_STATUS_WINDOW is also used in NetworkContentDownloadStatusWidgets). */ +/** Widgets of the #NetworkJoinStatusWindow class. */ enum NetworkJoinStatusWidgets { WID_NJS_BACKGROUND, ///< Background of the window. WID_NJS_CANCELOK, ///< Cancel / OK button. }; -/** Widgets of the WC_COMPANY_PASSWORD_WINDOW. */ +/** Widgets of the #NetworkCompanyPasswordWindow class. */ enum NetworkCompanyPasswordWidgets { WID_NCP_BACKGROUND, ///< Background of the window. WID_NCP_LABEL, ///< Label in front of the password field. |