2010-11-12 16:16:22 +01:00
|
|
|
#ifndef __DEFINES_H_
|
|
|
|
#define __DEFINES_H_
|
|
|
|
#define BUFLEN 1024
|
2010-11-12 16:43:27 +01:00
|
|
|
#define NUMBUFS 100
|
2010-11-12 16:16:22 +01:00
|
|
|
#define WIDTH 12
|
|
|
|
#define HEIGHT 7
|
|
|
|
#define SEGWIDTH 12
|
|
|
|
|
|
|
|
// not used for simplicity
|
|
|
|
//#define SEGHEIGHT 1
|
|
|
|
|
|
|
|
struct segment_t {
|
|
|
|
char r,g,b;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct frame_t
|
|
|
|
{
|
|
|
|
char windows[HEIGHT][WIDTH];
|
|
|
|
segment_t segments[SEGWIDTH];
|
|
|
|
};
|
|
|
|
|
2010-11-12 16:43:27 +01:00
|
|
|
#endif
|