X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=mware%2Fgfx.h;h=ab10712ad747782c3ba881464ece756a9ed7df4d;hb=cdf3e45aaa38fc701dceeb57e6ceedd6ca68f408;hp=b2804157cb0a605fdcc1412e8470b780b5364e6a;hpb=0ae1a254c74788c7e22f22dcfe9be5a02ec6b270;p=bertos.git diff --git a/mware/gfx.h b/mware/gfx.h index b2804157..ab10712a 100755 --- a/mware/gfx.h +++ b/mware/gfx.h @@ -14,6 +14,12 @@ /*#* *#* $Log$ + *#* Revision 1.10 2005/03/01 23:26:45 bernie + *#* Use new CPU-neutral program-memory API. + *#* + *#* 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 +45,9 @@ #ifndef MWARE_GFX_H #define MWARE_GFX_H -#include #include +#include +#include /*! Common type for coordinates expressed in pixel units */ @@ -91,10 +98,10 @@ 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 + #include + extern void gfx_blit_P(Bitmap *bm, const pgm_uint8_t *raster); +#endif #if CONFIG_GFX_VCOORDS