blob: 1138e090e1b3175d4494b2a46ca0b47d4255ddfc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#ifndef BRAILLEBOI_H
#define BRAILLEBOI_H
typedef struct image_buffer {
int width, height;
int* contents;
} image_buffer;
int brailleInit(int width, int height, image_buffer* buf);
int brailleStop(image_buffer* buf);
int brailleReorganizeBits(int old);
void braillePrint(int data);
int braillePlot(int x, int y, image_buffer* buf);
void brailleUpdateScreen(image_buffer* buf);
#endif
|