|
Eile Mit Weile
|
Panel for entering connection information. More...
#include <ConnectionPanel.hpp>
Public Member Functions | |
| ConnectionPanel (wxWindow *parent) | |
| wxString | GetServerAddress () |
| wxString | GetServerPort () |
| wxString | GetPlayerName () |
Private Attributes | |
| InputField * | _server_address_field |
| InputField * | _server_port_field |
| InputField * | _player_name_field |
Panel for entering connection information.
This class is derived from wxPanel, which is wxWidgets' panel class. It is responsible for displaying the connection information input fields and returning the entered information.
| ConnectionPanel::ConnectionPanel | ( | wxWindow * | parent | ) |
Initializes the ConnectionPanel with the given parent window (GameWindow).
| wxString ConnectionPanel::GetPlayerName | ( | ) |
Returns the entered player name.
| wxString ConnectionPanel::GetServerAddress | ( | ) |
Returns the entered server address.
| wxString ConnectionPanel::GetServerPort | ( | ) |
Returns the entered server port.
|
private |
The input field for the player name.
|
private |
The input field for the server address.
|
private |
The input field for the server port.