X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=mware%2Fgfx.h;h=b0a3a2f135b6a46ac9e7963e30ca8f918cdadc23;hb=4fdd9c132af71b1dd84aef5ddb47cd54d4b964a1;hp=b2804157cb0a605fdcc1412e8470b780b5364e6a;hpb=0ae1a254c74788c7e22f22dcfe9be5a02ec6b270;p=bertos.git diff --git a/mware/gfx.h b/mware/gfx.h index b2804157..b0a3a2f1 100755 --- a/mware/gfx.h +++ b/mware/gfx.h @@ -14,6 +14,15 @@ /*#* *#* $Log$ + *#* Revision 1.11 2005/04/11 19:10:28 bernie + *#* Include top-level headers from cfg/ subdir. + *#* + *#* 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 +48,9 @@ #ifndef MWARE_GFX_H #define MWARE_GFX_H -#include -#include +#include +#include +#include /*! Common type for coordinates expressed in pixel units */ @@ -91,10 +101,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