blob: 26ada93c3ad1bbdf313a85d56adacb62b91afdf4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#ifndef BRAILLEBOI_H
#define BRAILLEBOI_H
typedef struct image_buffer {
int width, height;
int char_width, char_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 brailleClearBuffer(image_buffer* buf);
void brailleUpdateScreen(image_buffer* buf);
#endif
|