mirror of
https://github.com/Leonmmcoset/cleonos.git
synced 2026-04-21 18:44:01 +00:00
tty ANSI增强
This commit is contained in:
@@ -19,7 +19,11 @@ void clks_fb_scroll_up(u32 pixel_rows, u32 fill_rgb);
|
||||
void clks_fb_draw_pixel(u32 x, u32 y, u32 rgb);
|
||||
clks_bool clks_fb_read_pixel(u32 x, u32 y, u32 *out_rgb);
|
||||
void clks_fb_fill_rect(u32 x, u32 y, u32 width, u32 height, u32 rgb);
|
||||
#define CLKS_FB_STYLE_BOLD 0x1U
|
||||
#define CLKS_FB_STYLE_UNDERLINE 0x2U
|
||||
|
||||
void clks_fb_draw_char(u32 x, u32 y, char ch, u32 fg_rgb, u32 bg_rgb);
|
||||
void clks_fb_draw_char_styled(u32 x, u32 y, char ch, u32 fg_rgb, u32 bg_rgb, u32 style_flags);
|
||||
clks_bool clks_fb_load_psf_font(const void *blob, u64 blob_size);
|
||||
u32 clks_fb_cell_width(void);
|
||||
u32 clks_fb_cell_height(void);
|
||||
|
||||
Reference in New Issue
Block a user