blob: 9da5358443fa52610de887666f917a9192aa261b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#pragma once
using message_box_action = void (*)(void);
namespace message_box
{
void init(void);
void layout(void);
void reset(void);
} // namespace message_box
namespace 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 message_box
|