Initial commit

This commit is contained in:
2026-03-14 11:53:08 +11:00
commit 3909773389
6 changed files with 202 additions and 0 deletions

8
example.c Normal file
View File

@@ -0,0 +1,8 @@
#define FB_IMPLEMENTATION
#include <fb.h>
int main() {
Framebuffer fb = newFramebuffer("/dev/fb0");
writeColourToFramebuffer(&fb, (Pixel){100, 100}, (Colour){255, 0, 0, 0});
destroyFramebuffer(&fb);
}