X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=mware%2Fgfx.c;h=9d1e6d3aee589c5a7498ea06023438fdfbbb7884;hb=277b540c0764dd376dcf583acdc97a2b2fd3d8e6;hp=d03e0a226923e0ebea89ff7a69a8c284b83a006f;hpb=96f0ef786b54356c56cc3d4e4f0838df2505cfcc;p=bertos.git diff --git a/mware/gfx.c b/mware/gfx.c index d03e0a22..9d1e6d3a 100755 --- a/mware/gfx.c +++ b/mware/gfx.c @@ -14,12 +14,21 @@ * \brief General pourpose graphics routines */ -/* - * $Log$ - * Revision 1.2 2004/06/03 11:27:09 bernie - * Add dual-license information. - * - */ +/*#* + *#* $Log$ + *#* Revision 1.5 2004/08/25 14:12:09 rasky + *#* Aggiornato il comment block dei log RCS + *#* + *#* Revision 1.4 2004/08/24 16:53:10 bernie + *#* Use new-style config macros. + *#* + *#* Revision 1.3 2004/08/04 03:16:59 bernie + *#* Switch to new DevLib CONFIG_ convention. + *#* + *#* Revision 1.2 2004/06/03 11:27:09 bernie + *#* Add dual-license information. + *#* + *#*/ #include "gfx.h" #include "config.h" @@ -90,7 +99,7 @@ void gfx_DrawLine(Bitmap *bm, coord_t x1, coord_t y1, coord_t x2, coord_t y2) int x, y, e, len, adx, ady, signx, signy; -#ifdef CONFIG_GFX_CLIPPING +#if CONFIG_GFX_CLIPPING /* FIXME: broken */ #define XMIN 0 @@ -146,7 +155,7 @@ void gfx_DrawLine(Bitmap *bm, coord_t x1, coord_t y1, coord_t x2, coord_t y2) #undef XMAX #undef YMAX -#endif /* CONFIG_GRAPH_CLIPPING */ +#endif /* CONFIG_GFX_CLIPPING */ if (x2 > x1) @@ -334,7 +343,7 @@ void gfx_SetClipRect(Bitmap *bm, coord_t minx, coord_t miny, coord_t maxx, coord } -#ifdef CONFIG_LCD_VCOORDS +#if CONFIG_GFX_VCOORDS /*! * Imposta gli estremi del sistema di coordinate cartesiane rispetto * al rettangolo di clipping della bitmap. @@ -383,4 +392,4 @@ void gfx_VDrawLine(Bitmap *bm, vcoord_t x1, vcoord_t y1, vcoord_t x2, vcoord_t y gfx_TransformX(bm, x1), gfx_TransformY(bm, y1), gfx_TransformY(bm, x2), gfx_TransformY(bm, y2)); } -#endif /* CONFIG_LCD_VCOORDS */ +#endif /* CONFIG_GFX_VCOORDS */