summaryrefslogtreecommitdiffstats
path: root/game/client/message_box.hh
blob: 6b50c717f26154d7c37bad26f6fa86be0a9c1c51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef CLIENT_MESSAGE_BOX_HH
#define CLIENT_MESSAGE_BOX_HH 1
#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(const char *title);
void set_subtitle(const char *subtitle);
void add_button(const char *text, const message_box_action &action);
} // namespace message_box

#endif /* CLIENT_MESSAGE_BOX_HH */