21 lines
332 B
C
21 lines
332 B
C
#ifndef FRAME_H
|
|
#define FRAME_H
|
|
|
|
#define FRAME_WIDTH 7
|
|
#define FRAME_HEIGHT 5
|
|
|
|
struct frame {
|
|
WINDOW *shape;
|
|
int height;
|
|
int width;
|
|
int start_y;
|
|
int start_x;
|
|
};
|
|
|
|
WINDOW *initialize_shape();
|
|
struct frame *initialize_frame();
|
|
void delete_frame(struct frame *);
|
|
void set_frame(struct frame *, int, int);
|
|
|
|
#endif
|