summaryrefslogtreecommitdiff
path: root/src/ui.h
blob: cfe88d176b20aa6700cf626af2c33b82b0eeba4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef OXEN_UI_H
#define OXEN_UI_H

#include <curses.h>
#include "card.h"
#include "table_stacks.h"
#include "hand.h"
#include "player.h"

void ui_display_wnd_table_cards(const table_stacks_t *ts, const bool highlight, const uint8_t highlighted_stack);
void ui_display_wnd_stack_points(const table_stacks_t *ts, const bool highlight, const uint8_t highlighted_points);
void ui_display_wnd_current_state(const player_list_t *pl, const uint8_t num_players, const bool highlight, const uint8_t highlighted_player, const uint32_t score);
void ui_display_wnd_messages(const char *message, const bool highlight);
void ui_display_wnd_hand_cards(const hand_t *h, const bool highlight, const uint8_t highlighted_card);
uint8_t ui_choose_card(hand_t *h);
uint8_t ui_choose_stack(const table_stacks_t *ts);
void ui_init(void);
void ui_fini(void);

#endif // OXEN_UI_H