47 virtual const std::string&
window_id()
const override;
Abstract base class for all modal dialogs.
This shows the multiplayer change control dialog.
unsigned int selected_side_
std::vector< std::string > nicks_
virtual const std::string & window_id() const override
The ID of the window to build.
events::menu_handler & menu_handler_
virtual void pre_show(window &window) override
Actions to be taken before showing the window.
mp_change_control(events::menu_handler &mh)
void handle_sides_list_item_clicked()
unsigned int selected_nick_
virtual void post_show(window &window) override
Actions to be taken after the window has been shown.
void highlight_side_nick()
void handle_nicks_list_item_clicked()
std::vector< int > sides_
base class of top level items, the only item which needs to store the final canvases to draw on.
#define DEFINE_SIMPLE_DISPLAY_WRAPPER(dialog)
Adds a bare-bones static display function to a dialog class that immediately invokes the dialogs's mo...
Handling of system events.