Calzone-UI/inc/fbd/fbd.h

19 lines
241 B
C
Raw Normal View History

2024-02-21 01:11:59 +00:00
#pragma once
#include <stdint.h>
struct framebuf {
uint32_t xres;
uint32_t yres;
uint32_t size;
int fd;
uint16_t* buf;
};
2024-02-23 04:45:19 +00:00
int open_fb(framebuf* fb, const char* const dev);
void close_fb(framebuf* fb);
void clear_fb(framebuf* fb);
2024-02-21 01:11:59 +00:00