From: bernie Date: Tue, 1 Aug 2006 12:45:01 +0000 (+0000) Subject: Remove Bitmap::cr when not needed. X-Git-Tag: 1.0.0~563 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=73b2ecbfe1ef0c124c6a9bbec2f8c218314e154b;p=bertos.git Remove Bitmap::cr when not needed. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@678 38d2e660-2303-0410-9eaa-f027e97ec537 --- 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