diff options
Diffstat (limited to 'src/user/libfont/fonts.c')
-rw-r--r-- | src/user/libfont/fonts.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/user/libfont/fonts.c b/src/user/libfont/fonts.c index c085604..51e127b 100644 --- a/src/user/libfont/fonts.c +++ b/src/user/libfont/fonts.c @@ -56,7 +56,8 @@ struct font_info *get_font(const char *name) { return 0; } -void put_char(const struct font_info *font, char ch, uint8_t *pb_ptr, uint32_t pb_pitch, uint8_t bg, uint8_t fg) { +//pitch is in pixels +void put_char(const struct font_info *font, char ch, _pixel_t *pb_ptr, uint32_t pb_pitch, _pixel_t bg, _pixel_t fg) { //char *const msg = format("put_char(font = 0x%x, ch = '%c', pb_ptr = 0x%x, pb_pitch = %u, bg = 0x%2x, fg = 0x%2x);", font, ch, pb_ptr, pb_pitch, bg, fg); //_system_log(msg); //free_block(msg); |