X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=gfx%2Fgfx.h;h=2c48b27be5e5b934306c2a35e16a8944f4ae776b;hb=e26fdac0517f0bcf9251dd557e519c7fb5f0f720;hp=5c2daf2b24f1fab733721308f0000b8c145beaa9;hpb=bcf38f772b397e7a8ba781a69aacb9380e54b32a;p=bertos.git diff --git a/gfx/gfx.h b/gfx/gfx.h index 5c2daf2b..2c48b27b 100755 --- a/gfx/gfx.h +++ b/gfx/gfx.h @@ -14,6 +14,9 @@ /*#* *#* $Log$ + *#* Revision 1.18 2006/08/01 12:45:01 bernie + *#* Remove Bitmap::cr when not needed. + *#* *#* Revision 1.17 2006/07/19 12:56:26 bernie *#* Convert to new Doxygen style. *#* @@ -146,7 +149,9 @@ typedef struct Bitmap coord_t stride; /**< Bytes per row. */ coord_t penX, penY; /**< Current pen position MoveTo()/LineTo() */ +#if CONFIG_GFX_CLIPPING || CONFIG_GFX_VCOORDS Rect cr; /**< Clip drawing inside this rectangle */ +#endif #if CONFIG_GFX_TEXT const struct Font *font;/**< Current font for text rendering. */ @@ -161,7 +166,8 @@ typedef struct Bitmap * \see text_style() */ uint8_t styles; -#endif +#endif /* CONFIG_GFX_TEXT */ + #if CONFIG_GFX_VCOORDS /** * \name Logical coordinate system