tty-solitaire/lib/frame.h
2010-04-11 17:15:36 -03:00

21 lines
336 B
C

#ifndef FRAME_H
#define FRAME_H
#include <ncurses.h>
#define FRAME_WIDTH 7
#define FRAME_HEIGHT 5
struct frame {
WINDOW *shape;
int start_y;
int start_x;
};
void allocate_frame(struct frame **);
void initialize_frame(struct frame *);
void delete_frame(struct frame *);
void set_frame(struct frame *, int, int);
#endif