Monopoly — Portage moderne 0.1.0
Portage moderne C/C++23 du Monopoly de 1999
Loading...
Searching...
No Matches
DebugDialogs.cpp File Reference
#include "DebugDialogs.hpp"
#include <SDL3/SDL.h>
#include <array>
#include <cstdlib>
Include dependency graph for DebugDialogs.cpp:

Go to the source code of this file.

Namespaces

namespace  monopoly
 
namespace  monopoly::debugui
 

Functions

QuestionPlan monopoly::debugui::questionPlan (Question question, bool defaultPositive)
 
std::expected< void, std::string > monopoly::debugui::displayMessage (std::string_view title, std::string_view message, SDL_Window *window)
 
std::expected< bool, std::string > monopoly::debugui::retryMessage (std::string_view title, std::string_view message, SDL_Window *window)
 
std::expected< bool, std::string > monopoly::debugui::okCancelMessage (std::string_view title, std::string_view message, SDL_Window *window)
 
std::expected< bool, std::string > monopoly::debugui::yesNoMessage (std::string_view title, std::string_view message, bool defaultYes, SDL_Window *window)
 
void monopoly::debugui::errorExit (std::string_view message, SDL_Window *window)