X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=gfx%2Ftext_format.c;h=7c20472569aa9c410189a7a046424af0f4ed0c39;hb=b8b3383870fba0c7a44ffc57b7f172f573fc5139;hp=433794add1ff315c1ad817288f000f6dcf8ccc3b;hpb=81ba34ccf5b8be398101bbcf54d5e6cc9d2eda05;p=bertos.git diff --git a/gfx/text_format.c b/gfx/text_format.c old mode 100755 new mode 100644 index 433794ad..7c204725 --- a/gfx/text_format.c +++ b/gfx/text_format.c @@ -1,9 +1,34 @@ -/*! +/** * \file * * * \brief printf-family routines for text output @@ -15,6 +40,9 @@ /*#* *#* $Log$ + *#* Revision 1.10 2006/07/19 12:56:26 bernie + *#* Convert to new Doxygen style. + *#* *#* Revision 1.9 2006/04/27 05:39:24 bernie *#* Enhance text rendering to arbitrary x,y coords. *#* @@ -90,7 +118,7 @@ #include #include /* strlen() */ -/*! +/** * Render string \a str in Bitmap \a bm at current cursor position * * \note Text formatting functions are also available with an _P suffix @@ -111,7 +139,7 @@ int PGM_FUNC(text_puts)(const char * PGM_ATTR str, struct Bitmap *bm) } -/*! +/** * vprintf()-like formatter to render text in a Bitmap. * * Perform vprintf()-like formatting on the \a fmt format string using the @@ -126,7 +154,7 @@ int PGM_FUNC(text_vprintf)(struct Bitmap *bm, const char * PGM_ATTR fmt, va_list return PGM_FUNC(_formatted_write)(fmt, (void (*)(char, void *))text_putchar, bm, ap); } -/*! +/** * printf()-like formatter to render text in a Bitmap. * * Perform printf()-like formatting on the \a fmt format string. @@ -294,7 +322,7 @@ static int text_charWidth(int c, struct TextWidthData *twd) return c; } -/*! +/** * Return the width in pixels of a vprintf()-formatted string. */ int PGM_FUNC(text_vwidthf)( @@ -316,7 +344,7 @@ int PGM_FUNC(text_vwidthf)( } -/*! +/** * Return the width in pixels of a printf()-formatted string. */ int PGM_FUNC(text_widthf)(struct Bitmap *bm, const char * PGM_ATTR fmt, ...)