add put_rect for direct rectangle rendering
This commit is contained in:
@@ -72,7 +72,24 @@ put_pixel(
|
||||
uint32_t color
|
||||
);
|
||||
|
||||
void
|
||||
put_rect(
|
||||
uint32_t x,
|
||||
uint32_t y,
|
||||
uint32_t w,
|
||||
uint32_t h,
|
||||
uint32_t color
|
||||
);
|
||||
|
||||
void
|
||||
clear_framebuffer(
|
||||
uint32_t color
|
||||
);
|
||||
|
||||
void
|
||||
put_char(
|
||||
char c,
|
||||
uint32_t x,
|
||||
uint32_t y,
|
||||
uint8_t size
|
||||
);
|
||||
Reference in New Issue
Block a user