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