summaryrefslogtreecommitdiff
path: root/web/web_ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'web/web_ui.h')
-rw-r--r--web/web_ui.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/web/web_ui.h b/web/web_ui.h
new file mode 100644
index 0000000..fa961fb
--- /dev/null
+++ b/web/web_ui.h
@@ -0,0 +1,18 @@
+#ifndef WEB_UI_H
+#define WEB_UI_H
+
+#include <stdbool.h>
+
+void update_player_sugg(int pn, int rem);
+void update_player_avg(int pn, int n_darts);
+void update_player_rem(int pn, int rem);
+void clear_player_info(int pn);
+
+void draw_visits();
+void draw_boat_throwing(int pts, char *str, double x, double y);
+
+bool is_key_active(char *k);
+void toggle_key(char *k);
+void deactivate_key(char *k);
+
+#endif