2010-04-03 07:11:27 +00:00
|
|
|
#ifndef DISPLAY_H
|
|
|
|
#define DISPLAY_H
|
|
|
|
|
|
|
|
#define DIAMONDS_SYMBOL "\u2666"
|
|
|
|
#define SPADES_SYMBOL "\u2660"
|
|
|
|
#define HEARTS_SYMBOL "\u2665"
|
|
|
|
#define CLUBS_SYMBOL "\u2663"
|
|
|
|
|
2010-04-03 19:34:45 +00:00
|
|
|
#define BLACK_ON_WHITE 1
|
|
|
|
#define RED_ON_WHITE 2
|
|
|
|
#define WHITE_ON_BLUE 3
|
|
|
|
|
2010-04-03 18:48:02 +00:00
|
|
|
void init_curses();
|
2010-04-03 07:11:27 +00:00
|
|
|
char *card_suit(enum suit);
|
2010-04-03 18:49:57 +00:00
|
|
|
char *card_value(enum value);
|
2010-04-03 19:34:45 +00:00
|
|
|
void draw_value(struct card *);
|
|
|
|
void draw_suit(struct card *);
|
|
|
|
void draw_front(struct card *);
|
|
|
|
void draw_back(struct card *);
|
|
|
|
void draw_card(struct card *);
|
2010-04-03 07:11:27 +00:00
|
|
|
|
|
|
|
#endif
|