diff options
Diffstat (limited to 'src/brailleboi.h')
| -rw-r--r-- | src/brailleboi.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/brailleboi.h b/src/brailleboi.h new file mode 100644 index 0000000..f06d0da --- /dev/null +++ b/src/brailleboi.h @@ -0,0 +1,22 @@ +#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 brailleUpdateScreen(image_buffer* buf); + +#endif |
