60 virtual const std::string&
window_id()
const override;
Abstract base class for all modal dialogs.
This shows the dialog to select the kind of MP game the user wants to play.
choice choice_
The selected method to ‘connect’ to the MP server.
virtual void post_show(window &window) override
Actions to be taken after the window has been shown.
std::string user_name_
The name to use on the MP server.
const std::string & user_name() const
virtual void pre_show(window &window) override
Actions to be taken before showing the window.
choice get_choice() const
virtual const std::string & window_id() const override
The ID of the window to build.
choice
Corresponds to each connection option.
base class of top level items, the only item which needs to store the final canvases to draw on.