X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fgfx%2Ftext.h;h=e7ac8c771a2114cf133be33089bc8d98949149f6;hb=983f074406bedb68909bf0439942e3b5dddc5579;hp=bcd29ccecf78cf253a903122952651c68b3e7901;hpb=4cc44c9888a0336b9d01121ec0b7ad95f4a76195;p=bertos.git diff --git a/bertos/gfx/text.h b/bertos/gfx/text.h index bcd29cce..e7ac8c77 100644 --- a/bertos/gfx/text.h +++ b/bertos/gfx/text.h @@ -35,7 +35,9 @@ * * \author Bernie Innocenti * \author Stefano Fedrigo - * \version $Id$ + * + * $WIZ$ module_name = "text" + * $WIZ$ module_depends = "bitmap", "line" */ #ifndef GFX_TEXT_H @@ -106,10 +108,12 @@ int text_widthf(struct Bitmap *bm, const char * fmt, ...) FORMAT(__printf__, 2, /* Text formatting functions for program-memory strings (mware/text_format.c) */ #if CPU_HARVARD -#include +#include int text_puts_P(const char * PROGMEM str, struct Bitmap *bm); int text_vprintf_P(struct Bitmap *bm, const char * PROGMEM fmt, va_list ap); int text_printf_P(struct Bitmap *bm, const char * PROGMEM fmt, ...) FORMAT(__printf__, 2, 3); +int text_xyvprintf_P(struct Bitmap *bm, coord_t x, coord_t y, uint16_t mode, const char *fmt, va_list ap); +int text_xyprintf_P(struct Bitmap *bm, coord_t x, coord_t col, uint16_t mode, const char *fmt, ...) FORMAT(__printf__, 5, 6); int text_xprintf_P(struct Bitmap *bm, uint8_t row, uint8_t col, uint16_t mode, const char * PROGMEM fmt, ...) FORMAT(__printf__, 5, 6); int text_vwidthf_P(struct Bitmap *bm, const char * PROGMEM fmt, va_list ap); int text_widthf_P(struct Bitmap *bm, const char * PROGMEM fmt, ...);