33 lines
713 B
C
Raw Normal View History

2010-04-03 04:11:27 -03:00
#ifndef DISPLAY_H
#define DISPLAY_H
2011-02-06 04:10:54 -02:00
#include "card.h"
#include "stack.h"
#include "deck.h"
2011-02-16 23:50:29 -02:00
#include "cursor.h"
#define EMPTY_STACKS_NUMBER 13
2010-04-03 04:11:27 -03:00
#define DIAMONDS_SYMBOL "\u2666"
#define SPADES_SYMBOL "\u2660"
#define HEARTS_SYMBOL "\u2665"
#define CLUBS_SYMBOL "\u2663"
2010-04-03 16:34:45 -03:00
#define BLACK_ON_WHITE 1
#define RED_ON_WHITE 2
#define WHITE_ON_BLUE 3
#define WHITE_ON_GREEN 4
2010-04-03 16:34:45 -03:00
void erase_stack(struct stack *);
2010-04-03 16:34:45 -03: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 *);
void draw_stack(struct stack *);
2011-02-06 00:22:16 -02:00
void draw_deck(struct deck *);
2011-02-16 23:50:29 -02:00
void draw_cursor(struct cursor *);
void erase_cursor(struct cursor *);
2010-04-03 04:11:27 -03:00
#endif