X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=gfx%2Ftext.h;h=1f00e7fa3aa58b7eb49453bd171fa28cf4c30c64;hb=0c154bc0927a32f77467f32aac3cc3507baa97ca;hp=c8b1d12b98475c23d7fb5711a84bec4158586f04;hpb=7cfcf67bd4fab6967078f5c36ea4b2ba97625380;p=bertos.git diff --git a/gfx/text.h b/gfx/text.h index c8b1d12b..1f00e7fa 100755 --- a/gfx/text.h +++ b/gfx/text.h @@ -15,6 +15,9 @@ /*#* *#* $Log$ + *#* Revision 1.4 2006/03/07 22:18:04 bernie + *#* Correctly compute text width for prop fonts; Make styles a per-bitmap attribute. + *#* *#* Revision 1.3 2006/02/10 12:26:19 bernie *#* Add STYLEF_TALL (unimplemented). *#* @@ -107,7 +110,7 @@ struct Bitmap; void text_moveto(struct Bitmap *bm, int row, int col); void text_setcoord(struct Bitmap *bm, int x, int y); int text_putchar(char c, struct Bitmap *bm); -uint8_t text_style(uint8_t flags, uint8_t mask); +uint8_t text_style(struct Bitmap *bm, uint8_t flags, uint8_t mask); void text_clear(struct Bitmap *bm); void text_clearLine(struct Bitmap *bm, int line);