X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=mware%2Fgfx.h;h=427063a1b906c5667d28f3f776b7680b1882189e;hb=0021318b90d6cc2da07904de709f9901f77b2c86;hp=b2804157cb0a605fdcc1412e8470b780b5364e6a;hpb=0ae1a254c74788c7e22f22dcfe9be5a02ec6b270;p=bertos.git diff --git a/mware/gfx.h b/mware/gfx.h index b2804157..427063a1 100755 --- a/mware/gfx.h +++ b/mware/gfx.h @@ -14,6 +14,9 @@ /*#* *#* $Log$ + *#* Revision 1.9 2005/01/20 18:46:31 aleph + *#* Fix progmem includes. + *#* *#* Revision 1.8 2004/11/01 15:14:07 bernie *#* Update to current coding conventions. *#* @@ -39,8 +42,9 @@ #ifndef MWARE_GFX_H #define MWARE_GFX_H -#include #include +#include +#include /*! Common type for coordinates expressed in pixel units */ @@ -91,10 +95,9 @@ extern void gfx_moveTo (Bitmap *bm, coord_t x, coord_t y); extern void gfx_lineTo (Bitmap *bm, coord_t x, coord_t y); extern void gfx_setClipRect(Bitmap *bm, coord_t xmin, coord_t ymin, coord_t xmax, coord_t ymax); -#if CPU_AVR - #include - extern void gfx_blit_P(Bitmap *bm, const prog_uchar *raster); -#endif /* CPU_AVR */ +#if CPU_HARVARD + extern void gfx_blit_P(Bitmap *bm, const pgm_uint8_t *raster); +#endif #if CONFIG_GFX_VCOORDS