#ifndef BRAILLEBOI_H #define BRAILLEBOI_H #define braillePrint(wcs, len, data) swprintf(wcs+wcslen(wcs), len, L"%lc", (0x2800|data)) 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); int braillePlot(int x, int y, image_buffer* buf); void brailleClearBuffer(image_buffer* buf); void brailleUpdateScreen(image_buffer* buf); #endif