projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Structured exceptions support for C programs.
[bertos.git]
/
gfx
/
gfx.h
diff --git
a/gfx/gfx.h
b/gfx/gfx.h
index 5c2daf2b24f1fab733721308f0000b8c145beaa9..2c48b27be5e5b934306c2a35e16a8944f4ae776b 100755
(executable)
--- a/
gfx/gfx.h
+++ b/
gfx/gfx.h
@@
-14,6
+14,9
@@
/*#*
*#* $Log$
/*#*
*#* $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.
*#*
*#* 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() */
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 */
Rect cr; /**< Clip drawing inside this rectangle */
+#endif
#if CONFIG_GFX_TEXT
const struct Font *font;/**< Current font for text rendering. */
#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;
* \see text_style()
*/
uint8_t styles;
-#endif
+#endif /* CONFIG_GFX_TEXT */
+
#if CONFIG_GFX_VCOORDS
/**
* \name Logical coordinate system
#if CONFIG_GFX_VCOORDS
/**
* \name Logical coordinate system