feat: io: serial & console

This commit is contained in:
Karina
2025-12-21 13:40:52 +04:00
parent bce8adb119
commit 626174d3d5
13 changed files with 313 additions and 3 deletions
+5 -3
View File
@@ -20,11 +20,13 @@ typedef struct {
} SG_Image;
typedef struct {
u32 font_w;
u32 font_h;
} SG_FontMetrics;
u32 w;
u32 h;
const unsigned char* base;
} SG_Font;
void sg_put_img(SG_Context *ctx, SG_Point *p, SG_Image *img);
void sg_draw_rect(SG_Context *ctx, SG_Point *p, u32 w, u32 h, u32 color);
void sg_draw_char_bitmap(SG_Context *ctx, SG_Point *p, char c, u32 color, SG_Font *font);
#endif