34 std::string_view title,
35 std::string_view message,
39 std::string_view title,
40 std::string_view message,
44 std::string_view title,
45 std::string_view message,
49 std::string_view title,
50 std::string_view message,
55 std::string_view message,
void errorExit(std::string_view message, SDL_Window *window)
std::expected< bool, std::string > retryMessage(std::string_view title, std::string_view message, SDL_Window *window)
std::expected< bool, std::string > okCancelMessage(std::string_view title, std::string_view message, SDL_Window *window)
QuestionPlan questionPlan(Question question, bool defaultPositive)
constexpr int ErrorExitStatus
std::expected< void, std::string > displayMessage(std::string_view title, std::string_view message, SDL_Window *window)
std::expected< bool, std::string > yesNoMessage(std::string_view title, std::string_view message, bool defaultYes, SDL_Window *window)
friend bool operator==(const QuestionPlan &, const QuestionPlan &)=default