From 3bf42c6ff3805a0d42bbc661794a95ff31bedc26 Mon Sep 17 00:00:00 2001 From: untodesu Date: Sat, 15 Mar 2025 16:22:09 +0500 Subject: Add whatever I was working on for the last month --- game/client/progress_bar.hh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 game/client/progress_bar.hh (limited to 'game/client/progress_bar.hh') diff --git a/game/client/progress_bar.hh b/game/client/progress_bar.hh new file mode 100644 index 0000000..1596a95 --- /dev/null +++ b/game/client/progress_bar.hh @@ -0,0 +1,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 */ -- cgit