summaryrefslogtreecommitdiff
path: root/web/web_ui.h
blob: fa961fbcc583df21d7755ab244a8c99aebb97022 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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