X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=gfx%2Fgfx.h;h=1def1e88d0fbf8db429a82e6c3b466bea0e2e8db;hb=7f5d3d3799955d4ef380bb9199a8e32c6dc72ae1;hp=fb7e615f7b4be737c3ca17b2b64a3698a07899a1;hpb=39108834d9c102712d6c11830ca9b9fb5b098d19;p=bertos.git diff --git a/gfx/gfx.h b/gfx/gfx.h index fb7e615f..1def1e88 100755 --- a/gfx/gfx.h +++ b/gfx/gfx.h @@ -14,6 +14,9 @@ /*#* *#* $Log$ + *#* Revision 1.10 2006/02/17 22:24:40 bernie + *#* Fix undefined preprocessor symbol. + *#* *#* Revision 1.9 2006/02/15 09:10:15 bernie *#* Implement prop fonts; Fix algo styles. *#* @@ -38,6 +41,14 @@ #include /* CONFIG_GFX_* */ +/** + * \name Known pixel formats for bitmap representation. + * \{ + */ +#define BITMAP_FMT_PLANAR_H_MSB 1 /**< Planar pixels, horizontal bytes, MSB left. */ +#define BITMAP_FMT_PLANAR_V_LSB 2 /**< Planar pixels, vertical bytes, LSB top. */ +/* \} */ + #if !defined(CONFIG_BITMAP_FMT) || (CONFIG_BITMAP_FMT != BITMAP_FMT_PLANAR_H_MSB && CONFIG_BITMAP_FMT != BITMAP_FMT_PLANAR_V_LSB) #error CONFIG_BITMAP_FMT must be defined to either BITMAP_FMT_PLANAR_H_LSB or BITMAP_FMT_PLANAR_V_LSB #endif @@ -48,14 +59,6 @@ #error CONFIG_GFX_TEXT must be defined to either 0 or 1 #endif -/** - * \name Known pixel formats for bitmap representation. - * \{ - */ -#define BITMAP_FMT_PLANAR_H_MSB 1 /**< Planar pixels, horizontal bytes, MSB left. */ -#define BITMAP_FMT_PLANAR_V_LSB 2 /**< Planar pixels, vertical bytes, LSB top. */ -/* \} */ - EXTERN_C_BEGIN /*! Common type for coordinates expressed in pixel units */