/** Widgets of the WC_NETWORK_WINDOW (WC_NETWORK_WINDOW is also used in NetworkGameWindowWidgets, NetworkStartServerWidgets, and NetworkLobbyWindowWidgets). */
enumNetworkContentListWindowWidgets {
NCLWW_BACKGROUND,///< Resize button
enumNetworkContentListWidgets {
WID_NCL_BACKGROUND,///< Resize button.
NCLWW_FILTER_CAPT,///< Caption for the filter editbox
NCLWW_FILTER,///< Filter editbox
WID_NCL_FILTER_CAPT,///< Caption for the filter editbox.
/** Widgets of the WC_NETWORK_WINDOW (WC_NETWORK_WINDOW is also used in NetworkContentListWindowWidgets, NetworkStartServerWidgets, and NetworkLobbyWindowWidgets). */
enumNetworkGameWindowWidgets {
NGWW_MAIN,///< Main panel
NGWW_CONNECTION,///< Label in front of connection droplist
NGWW_CONN_BTN,///< 'Connection' droplist button
NGWW_CLIENT_LABEL,///< Label in front of client name edit box
NGWW_CLIENT,///< Panel with editbox to set client name
NGWW_HEADER,///< Header container of the matrix
NGWW_NAME,///< 'Name' button
NGWW_CLIENTS,///< 'Clients' button
NGWW_MAPSIZE,///< 'Map size' button
NGWW_DATE,///< 'Date' button
NGWW_YEARS,///< 'Years' button
NGWW_INFO,///< Third button in the game list panel
NGWW_MATRIX,///< Panel with list of games
NGWW_SCROLLBAR,///< Scrollbar of matrix
NGWW_LASTJOINED_LABEL,///< Label "Last joined server:"
NGWW_LASTJOINED,///< Info about the last joined server
NGWW_LASTJOINED_SPACER,///< Spacer after last joined server panel
NGWW_DETAILS,///< Panel with game details
NGWW_DETAILS_SPACER,///< Spacer for game actual details
NGWW_JOIN,///< 'Join game' button
NGWW_REFRESH,///< 'Refresh server' button
NGWW_NEWGRF,///< 'NewGRF Settings' button
NGWW_NEWGRF_SEL,///< Selection 'widget' to hide the NewGRF settings
NGWW_NEWGRF_MISSING_SEL,///< Selection widget for the above button
NGWW_FIND,///< 'Find server' button
NGWW_ADD,///< 'Add server' button
NGWW_START,///< 'Start server' button
NGWW_CANCEL,///< 'Cancel' button
/** Widgets of the WC_NETWORK_WINDOW (WC_NETWORK_WINDOW is also used in NetworkContentListWidgets, NetworkStartServerWidgets, and NetworkLobbyWidgets). */
enumNetworkGameWidgets {
WID_NG_MAIN,///< Main panel.
WID_NG_CONNECTION,///< Label in front of connection droplist.
WID_NG_NEWGRF_MISSING_SEL,///< Selection widget for the above button.
WID_NG_FIND,///< 'Find server' button.
WID_NG_ADD,///< 'Add server' button.
WID_NG_START,///< 'Start server' button.
WID_NG_CANCEL,///< 'Cancel' button.
};
/** Widgets of the WC_NETWORK_WINDOW (WC_NETWORK_WINDOW is also used in NetworkContentListWindowWidgets, NetworkGameWindowWidgets, and NetworkLobbyWindowWidgets). */
/** Widgets of the WC_NETWORK_WINDOW (WC_NETWORK_WINDOW is also used in NetworkContentListWidgets, NetworkGameWidgets, and NetworkLobbyWidgets). */
enumNetworkStartServerWidgets{
NSSW_BACKGROUND,
NSSW_GAMENAME_LABEL,
NSSW_GAMENAME,///< Background for editbox to set game name
WID_NSS_PLAY_HEIGHTMAP,///< Play heightmap button.
WID_NSS_CANCEL,///< 'Cancel' button.
};
/** Widgets of the WC_NETWORK_WINDOW (WC_NETWORK_WINDOW is also used in NetworkContentListWindowWidgets, NetworkGameWindowWidgets, and NetworkStartServerWidgets). */
enumNetworkLobbyWindowWidgets {
NLWW_BACKGROUND,///< Background panel
NLWW_TEXT,///< Heading text
NLWW_HEADER,///< Header above list of companies
NLWW_MATRIX,///< List of companies
NLWW_SCROLLBAR,///< Scroll bar
NLWW_DETAILS,///< Company details
NLWW_JOIN,///< 'Join company' button
NLWW_NEW,///< 'New company' button
NLWW_SPECTATE,///< 'Spectate game' button
NLWW_REFRESH,///< 'Refresh server' button
NLWW_CANCEL,///< 'Cancel' button
/** Widgets of the WC_NETWORK_WINDOW (WC_NETWORK_WINDOW is also used in NetworkContentListWidgets, NetworkGameWidgets, and NetworkStartServerWidgets). */
enumNetworkLobbyWidgets {
WID_NL_BACKGROUND,///< Background of the window.
WID_NL_TEXT,///< Heading text.
WID_NL_HEADER,///< Header above list of companies.
WID_NL_MATRIX,///< List of companies.
WID_NL_SCROLLBAR,///< Scroll bar.
WID_NL_DETAILS,///< Company details.
WID_NL_JOIN,///< 'Join company' button.
WID_NL_NEW,///< 'New company' button.
WID_NL_SPECTATE,///< 'Spectate game' button.
WID_NL_REFRESH,///< 'Refresh server' button.
WID_NL_CANCEL,///< 'Cancel' button.
};
/** Widgets of the WC_CLIENT_LIST. */
enumClientListWidgets{
CLW_PANEL,
WID_CL_PANEL,///< Panel of the window.
};
/** Widgets of the WC_CLIENT_LIST_POPUP. */
enumClientListPopupWidgets{
CLPW_PANEL,
WID_CLP_PANEL,///< Panel of the window.
};
/** Widgets of the WC_NETWORK_STATUS_WINDOW (WC_NETWORK_STATUS_WINDOW is also used in NetworkContentDownloadStatusWindowWidgets). */
/** Widgets of the WC_NETWORK_STATUS_WINDOW (WC_NETWORK_STATUS_WINDOW is also used in NetworkContentDownloadStatusWidgets). */
enumNetworkJoinStatusWidgets{
NJSW_BACKGROUND,///< Background
NJSW_CANCELOK,///< Cancel/OK button
WID_NJS_BACKGROUND,///< Background of the window.
WID_NJS_CANCELOK,///< Cancel/OK button.
};
/** Widgets of the WC_COMPANY_PASSWORD_WINDOW. */
enumNetworkCompanyPasswordWindowWidgets {
NCPWW_BACKGROUND,///< The background of the interface
NCPWW_LABEL,///< Label in front of the password field
NCPWW_PASSWORD,///< Input field for the password
NCPWW_SAVE_AS_DEFAULT_PASSWORD,///< Toggle 'button' for saving the current password as default password
NCPWW_CANCEL,///< Close the window without changing anything
NCPWW_OK,///< Safe the password etc.
enumNetworkCompanyPasswordWidgets {
WID_NCP_BACKGROUND,///< Background of the window.
WID_NCP_LABEL,///< Label in front of the password field.
WID_NCP_PASSWORD,///< Input field for the password.
WID_NCP_SAVE_AS_DEFAULT_PASSWORD,///< Toggle 'button' for saving the current password as default password.
WID_NCP_CANCEL,///< Close the window without changing anything.