X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=gfx%2Fgfx.h;h=324c7c59b97c272ae049491eb0116e20b65e393a;hb=0c154bc0927a32f77467f32aac3cc3507baa97ca;hp=1def1e88d0fbf8db429a82e6c3b466bea0e2e8db;hpb=972073a11abb5cf0b382b1a74298185ee4a9466a;p=bertos.git diff --git a/gfx/gfx.h b/gfx/gfx.h index 1def1e88..324c7c59 100755 --- a/gfx/gfx.h +++ b/gfx/gfx.h @@ -14,6 +14,9 @@ /*#* *#* $Log$ + *#* Revision 1.11 2006/03/07 22:18:04 bernie + *#* Correctly compute text width for prop fonts; Make styles a per-bitmap attribute. + *#* *#* Revision 1.10 2006/02/17 22:24:40 bernie *#* Fix undefined preprocessor symbol. *#* @@ -125,6 +128,15 @@ typedef struct Bitmap #if CONFIG_GFX_TEXT const struct Font *font;/**< Current font for text rendering. */ + + /** + * Algorithmic text style flags. + * + * The text rendering routine can apply a few simple transformations + * to the current font in order to generate common styles such as + * bold, italic and underline from plain glyphs. + */ + uint8_t styles; #endif #if CONFIG_GFX_VCOORDS /*!