From 8960ae7f84d1e428ece490c7d8fb88be45896ccf Mon Sep 17 00:00:00 2001 From: Murilo Soares Pereira Date: Sat, 3 Apr 2010 01:20:49 -0300 Subject: [PATCH] Removed GUI related code from card code. --- lib/card.c | 7 +------ lib/card.h | 1 - 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/lib/card.c b/lib/card.c index f6a27c9..e1e438b 100644 --- a/lib/card.c +++ b/lib/card.c @@ -1,7 +1,7 @@ #include #include -#include "card.h" #include "frame.h" +#include "card.h" #include "../src/common.h" struct card *initialize_card() { @@ -37,8 +37,3 @@ void set_card(struct card *card, return; } - -void refresh_card(struct card *card) { - box(card->frame->shape, 0, 0); - wrefresh(card->frame->shape); -} diff --git a/lib/card.h b/lib/card.h index 952c3b4..4eba551 100644 --- a/lib/card.h +++ b/lib/card.h @@ -42,6 +42,5 @@ struct card { struct card *initialize_card(); void delete_card(struct card *); void set_card(struct card *, enum value, enum suit, enum face, int, int); -void refresh_card(struct card *); #endif