diff options
author | Patric Stout <truebrain@openttd.org> | 2021-04-18 09:54:47 +0200 |
---|---|---|
committer | Patric Stout <github@truebrain.nl> | 2021-04-24 21:43:58 +0200 |
commit | 526635942451479bee66e9eb61c50f91ae48a7dd (patch) | |
tree | 34a757634102f384eb2e70ae1044dd86916243f9 /src/widgets/network_widget.h | |
parent | aca20092aadd65a764f1ea493c36f0ca507b32ff (diff) | |
download | openttd-526635942451479bee66e9eb61c50f91ae48a7dd.tar.xz |
Feature: rework in-game Online Players GUI
The GUI now more clearly shows some basic information about the
server you joined, your client name (and the ability to change it),
and what players are in which company.
It also contains useful buttons to press to join companies, chat
with other people, and for admins to kick/ban people.
Additionally, renamed "advertised" to "visibility"; this has to
do with future additions, but also because it is more clear in
wording.
Diffstat (limited to 'src/widgets/network_widget.h')
-rw-r--r-- | src/widgets/network_widget.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/widgets/network_widget.h b/src/widgets/network_widget.h index 79d33fb06..a453b085c 100644 --- a/src/widgets/network_widget.h +++ b/src/widgets/network_widget.h @@ -96,7 +96,16 @@ enum NetworkLobbyWidgets { /** Widgets of the #NetworkClientListWindow class. */ enum ClientListWidgets { - WID_CL_PANEL, ///< Panel of the window. + WID_CL_PANEL, ///< Panel of the window. + WID_CL_SERVER_SELECTOR, ///< Selector to hide the server frame. + WID_CL_SERVER_NAME, ///< Server name. + WID_CL_SERVER_NAME_EDIT, ///< Edit button for server name. + WID_CL_SERVER_VISIBILITY, ///< Server visibility. + WID_CL_CLIENT_NAME, ///< Client name. + WID_CL_CLIENT_NAME_EDIT, ///< Edit button for client name. + WID_CL_MATRIX, ///< Company/client list. + WID_CL_SCROLLBAR, ///< Scrollbar for company/client list. + WID_CL_COMPANY_JOIN, ///< Used for QueryWindow when a company has a password. }; /** Widgets of the #NetworkClientListPopupWindow class. */ |