|
Monopoly — Portage moderne 0.1.0
Portage moderne C/C++23 du Monopoly de 1999
|
Classes | |
| struct | QuestionPlan |
Enumerations | |
| enum class | Question { RetryCancel , OkCancel , YesNo } |
Functions | |
| QuestionPlan | questionPlan (Question question, bool defaultPositive) |
| std::expected< void, std::string > | displayMessage (std::string_view title, 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) |
| std::expected< bool, std::string > | yesNoMessage (std::string_view title, std::string_view message, bool defaultYes, SDL_Window *window) |
| void | errorExit (std::string_view message, SDL_Window *window) |
Variables | |
| constexpr int | ErrorExitStatus = 20 |
|
strong |
| Enumerator | |
|---|---|
| RetryCancel | |
| OkCancel | |
| YesNo | |
Definition at line 13 of file DebugDialogs.hpp.
| std::expected< void, std::string > monopoly::debugui::displayMessage | ( | std::string_view | title, |
| std::string_view | message, | ||
| SDL_Window * | window | ||
| ) |
Definition at line 83 of file DebugDialogs.cpp.
| void monopoly::debugui::errorExit | ( | std::string_view | message, |
| SDL_Window * | window | ||
| ) |
Definition at line 135 of file DebugDialogs.cpp.
| std::expected< bool, std::string > monopoly::debugui::okCancelMessage | ( | std::string_view | title, |
| std::string_view | message, | ||
| SDL_Window * | window | ||
| ) |
Definition at line 112 of file DebugDialogs.cpp.
| QuestionPlan monopoly::debugui::questionPlan | ( | Question | question, |
| bool | defaultPositive | ||
| ) |
Definition at line 59 of file DebugDialogs.cpp.
| std::expected< bool, std::string > monopoly::debugui::retryMessage | ( | std::string_view | title, |
| std::string_view | message, | ||
| SDL_Window * | window | ||
| ) |
Definition at line 101 of file DebugDialogs.cpp.
| std::expected< bool, std::string > monopoly::debugui::yesNoMessage | ( | std::string_view | title, |
| std::string_view | message, | ||
| bool | defaultYes, | ||
| SDL_Window * | window | ||
| ) |
Definition at line 123 of file DebugDialogs.cpp.
Definition at line 11 of file DebugDialogs.hpp.