#ifndef MESSAGE_DISPLAY_HPP_
#define MESSAGE_DISPLAY_HPP_

#include <Widget/Label/Label.hpp>
#include <string>
#include <Display/WidgetDisplay/WidgetDisplay.hpp>
#include <Widget/Button/Button.hpp>

/**
 * @brief A display which shows a message with an OK button, which `navPop()`s when clicked.
 */
class MessageDisplay final : public WidgetDisplay
{
public:
    /**
     * @brief Construct a message display.
     * 
     * @param icon The icon to show in the caption.
     * @param caption The caption.
     * @param message The message to display.
     */
    MessageDisplay(Material &icon, const std::string &caption, const std::string &message);
};

#endif