summaryrefslogtreecommitdiffstats
path: root/game/client/gui/message_box.hh
blob: 74a6fbf59509992ccd6a97fa64614d839bb00880 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma once

namespace gui
{
using message_box_action = void (*)(void);
} // namespace gui

namespace gui::message_box
{
void init(void);
void layout(void);
void reset(void);
} // namespace gui::message_box

namespace gui::message_box
{
void set_title(std::string_view title);
void set_subtitle(std::string_view subtitle);
void add_button(std::string_view text, const message_box_action& action);
} // namespace gui::message_box