summaryrefslogtreecommitdiffstats
path: root/game/client/progress_bar.hh
blob: 1596a9539b442a8fd5c47bf667a53e3456697a8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef CLIENT_PROGRESS_BAR_HH
#define CLIENT_PROGRESS_BAR_HH 1
#pragma once

using progress_bar_action = void(*)(void);

namespace progress_bar
{
void init(void);
void layout(void);
} // progress_bar

namespace progress_bar
{
void reset(void);
void set_title(const char *title);
void set_button(const char *text, const progress_bar_action &action);
} // namespace progress_bar

#endif /* CLIENT_PROGRESS_BAR_HH */