mirror of
https://github.com/stasenso/rp_pico_test.git
synced 2026-06-26 21:42:44 +03:00
Added color to draw_string
This commit is contained in:
+2
-2
@@ -7,7 +7,7 @@ extern const uint16_t font_width;
|
||||
extern const uint16_t font_height;
|
||||
extern const uint8_t font_data[];
|
||||
|
||||
void draw_string(uint16_t x, uint16_t y, const wchar_t *str);
|
||||
void draw_char(uint16_t x, uint16_t y,uint8_t wdh, wchar_t c);
|
||||
void draw_string(uint16_t x, uint16_t y, const wchar_t *str, uint16_t Color);
|
||||
void draw_char(uint16_t x, uint16_t y,uint8_t wdh, wchar_t c, uint16_t color);
|
||||
uint8_t get_char_width(wchar_t c);
|
||||
#endif // FONT_DATA_H
|
||||
|
||||
Reference in New Issue
Block a user