1 #ifndef BLANK_UI_MESSAGEBOX_HPP_
2 #define BLANK_UI_MESSAGEBOX_HPP_
5 #include "../graphics/align.hpp"
20 explicit MessageBox(const Font &);
22 void Position(const glm::vec3 &, Gravity) noexcept;
24 void Foreground(const glm::vec4 &col) noexcept { fg = col; }
25 void Background(const glm::vec4 &col) noexcept { bg = col; }
27 void PushLine(const char *);
28 void PushLine(const std::string &l) {
32 void Render(Viewport &) noexcept;
36 std::deque<Text> lines;
37 std::size_t max_lines;