X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=mware%2Fgfx.h;h=a878eabb81b6156d0a020e95c18b75302c05f91e;hb=646a88d7412eec847c282b9b2050b3a37a9af7a5;hp=b2804157cb0a605fdcc1412e8470b780b5364e6a;hpb=0ae1a254c74788c7e22f22dcfe9be5a02ec6b270;p=bertos.git diff --git a/mware/gfx.h b/mware/gfx.h index b2804157..a878eabb 100755 --- a/mware/gfx.h +++ b/mware/gfx.h @@ -2,7 +2,7 @@ * \file * Copyright 2003, 2004 Develer S.r.l. (http://www.develer.com/) * Copyright 1999 Bernardo Innocenti - * This file is part of DevLib - See devlib/README for information. + * This file is part of DevLib - See README.devlib for information. * * \version $Id$ * @@ -14,6 +14,18 @@ /*#* *#* $Log$ + *#* Revision 1.12 2005/11/04 16:20:02 bernie + *#* Fix reference to README.devlib in header. + *#* + *#* 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 +51,9 @@ #ifndef MWARE_GFX_H #define MWARE_GFX_H -#include -#include +#include +#include +#include /*! Common type for coordinates expressed in pixel units */ @@ -91,10 +104,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