42 virtual const std::string&
window_id()
const override;
46 virtual void post_show(window& window)
override;
This shows a dialog to report players on the multiplayer server.
virtual void post_show(window &window) override
Actions to be taken after the window has been shown.
std::string & report_text_
static const std::array< std::string, 3 > occurrence_locations
virtual void pre_show(window &window) override
Actions to be taken before showing the window.
void reportee_changed(const std::string &text)
bool report_reason_empty_
mp_report(std::string &report_text_)
void report_reason_changed(const std::string &text)
Abstract base class for all modal dialogs.
#define DEFINE_SIMPLE_EXECUTE_WRAPPER(dialog)
Adds a bare-bonesstatic execute function to a dialog class that immediately invokes and return the re...
base class of top level items, the only item which needs to store the final canvases to draw on...
virtual const std::string & window_id() const override
The ID of the window to build.