2022-03-15 23:37:20 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
struct fbst {
|
|
|
|
unsigned char *fbp;
|
|
|
|
unsigned int width;
|
|
|
|
unsigned int height;
|
|
|
|
unsigned int pitch;
|
|
|
|
unsigned int isrgb;
|
|
|
|
};
|
|
|
|
|
2022-03-20 21:44:11 +01:00
|
|
|
unsigned char *fb_init(int width, int height);
|
2022-03-18 00:30:59 +01:00
|
|
|
struct fbst * fb_get();
|
|
|
|
void fb_print(int x, int y, char *s);
|