/*#*
*#* $Log$
+ *#* Revision 1.2 2005/11/04 18:17:45 bernie
+ *#* Fix header guards and includes for new location of gfx module.
+ *#*
*#* Revision 1.1 2005/11/04 18:11:35 bernie
*#* Move graphics stuff from mware/ to gfx/.
*#*
*#*
*#*/
-#include "charts.h"
+#include <gfx/charts.h>
#include <mware/gfx.h>
/*#*
*#* $Log$
+ *#* Revision 1.2 2005/11/04 18:17:45 bernie
+ *#* Fix header guards and includes for new location of gfx module.
+ *#*
*#* Revision 1.1 2005/11/04 18:11:35 bernie
*#* Move graphics stuff from mware/ to gfx/.
*#*
*#* Import simple chart drawing code.
*#*
*#*/
-#ifndef MWARE_CHARTS_H
-#define MWARE_CHARTS_H
+#ifndef GFX_CHARTS_H
+#define GFX_CHARTS_H
-#include <mware/gfx.h> /* vcoord_t */
+#include <gfx/gfx.h> /* vcoord_t */
#include <cfg/config.h> /* CONFIG_ stuff */
/*!
void chart_drawCurve(Bitmap *bm, const chart_y_t *curve_y, int curve_cnt);
void chart_drawDots(Bitmap *bm, const chart_x_t *dots_x, const chart_y_t *dots_y, int cnt);
-#endif /* MWARE_CHARTS_H */
+#endif /* GFX_CHARTS_H */
/*!
* \file
* <!--
- * Copyright (C) 2001 Bernardo Innocenti <bernie@codewiz.org>
- * Copyright (C) 2003,2004 Develer S.r.l. (http://www.develer.com/)
+ * Copyright 2003, 2004, 2005 Develer S.r.l. (http://www.develer.com/)
+ * Copyright 2001 Bernardo Innocenti <bernie@codewiz.org>
* This file is part of DevLib - See README.devlib for information.
* -->
*
/*#*
*#* $Log$
+ *#* Revision 1.2 2005/11/04 18:17:45 bernie
+ *#* Fix header guards and includes for new location of gfx module.
+ *#*
*#* Revision 1.1 2005/11/04 18:11:35 bernie
*#* Move graphics stuff from mware/ to gfx/.
*#*
*#*
*#* Revision 1.1 2004/05/23 15:43:16 bernie
*#* Import mware modules.
- *#*
- *#* Revision 1.5 2004/03/24 15:48:53 bernie
- *#* Remove Copyright messages from Doxygen output
- *#*
- *#* Revision 1.4 2004/03/03 18:30:17 bernie
- *#* Substitute left triangle glyph with left arrow
- *#*
- *#* Revision 1.3 2004/02/28 14:48:33 aleph
- *#* Improve arrow glyphs
- *#*
- *#* Revision 1.2 2004/01/13 12:15:28 aleph
- *#* Move font table in program memory; add font.h
- *#*
- *#* Revision 1.1 2004/01/07 23:31:54 aleph
- *#* Add text routines
- *#*
*#*/
#include "font.h"
/*#*
*#* $Log$
+ *#* Revision 1.2 2005/11/04 18:17:45 bernie
+ *#* Fix header guards and includes for new location of gfx module.
+ *#*
*#* Revision 1.1 2005/11/04 18:11:35 bernie
*#* Move graphics stuff from mware/ to gfx/.
*#*
*#* Move font table in program memory; add font.h
*#*
*#*/
-#ifndef MWARE_FONT_H
-#define MWARE_FONT_H
+#ifndef GFX_FONT_H
+#define GFX_FONT_H
#include <cfg/compiler.h> /* uint8_t */
#include <mware/pgm.h> /* PROGMEM */
#define FONT_HEIGHT 8
/* \} */
-/*! Font table */
+/*! Font table. */
extern const PROGMEM uint8_t font[256 * FONT_WIDTH];
-#endif /* MWARE_FONT_H */
+#endif /* GFX_FONT_H */
/*!
* \file
* <!--
- * Copyright 2003, 2004 Develer S.r.l. (http://www.develer.com/)
+ * Copyright 2003, 2004, 2005 Develer S.r.l. (http://www.develer.com/)
* Copyright 1999 Bernardo Innocenti <bernie@develer.com>
* This file is part of DevLib - See README.devlib for information.
* -->
/*#*
*#* $Log$
+ *#* Revision 1.2 2005/11/04 18:17:45 bernie
+ *#* Fix header guards and includes for new location of gfx module.
+ *#*
*#* Revision 1.1 2005/11/04 18:11:35 bernie
*#* Move graphics stuff from mware/ to gfx/.
*#*
*#*
*#* Revision 1.12 2005/03/01 23:26:45 bernie
*#* Use new CPU-neutral program-memory API.
- *#*
- *#* Revision 1.11 2004/12/08 08:06:16 bernie
- *#* Remove done todo.
- *#*
- *#* Revision 1.10 2004/11/01 15:14:07 bernie
- *#* Update to current coding conventions.
- *#*
- *#* Revision 1.9 2004/10/21 10:58:33 bernie
- *#* Add a TODO item.
- *#*
- *#* Revision 1.8 2004/09/20 03:29:22 bernie
- *#* Relax assertion.
- *#*
- *#* Revision 1.7 2004/09/14 21:01:08 bernie
- *#* Rename rectangle drawing functions; Unify filled/cleared implementations.
- *#*
- *#* 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 <gfx/gfx.h>
#include <cfg/config.h> /* CONFIG_GFX_CLIPPING */
#include <cfg/debug.h>
#include <cfg/cpu.h> /* CPU_HARVARD */
/*!
* \file
- * Copyright 2003, 2004 Develer S.r.l. (http://www.develer.com/)
+ * Copyright 2003, 2004, 2005 Develer S.r.l. (http://www.develer.com/)
* Copyright 1999 Bernardo Innocenti <bernie@develer.com>
* This file is part of DevLib - See README.devlib for information.
*
/*#*
*#* $Log$
+ *#* Revision 1.2 2005/11/04 18:17:45 bernie
+ *#* Fix header guards and includes for new location of gfx module.
+ *#*
*#* Revision 1.1 2005/11/04 18:11:35 bernie
*#* Move graphics stuff from mware/ to gfx/.
*#*
*#*
*#* 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.
- *#*
- *#* Revision 1.7 2004/09/20 03:29:06 bernie
- *#* Conditionalize AVR-specific code.
- *#*
- *#* Revision 1.6 2004/09/14 21:01:08 bernie
- *#* Rename rectangle drawing functions; Unify filled/cleared implementations.
- *#*
- *#* Revision 1.4 2004/08/10 07:00:16 bernie
- *#* Add missing header.
- *#*
- *#* 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.
- *#*
- *#* Revision 1.1 2004/05/23 15:43:16 bernie
- *#* Import mware modules.
*#*/
-#ifndef MWARE_GFX_H
-#define MWARE_GFX_H
+#ifndef GFX_GFX_H
+#define GFX_GFX_H
#include <cfg/config.h>
#include <cfg/compiler.h>
extern void gfx_vline(Bitmap *bm, vcoord_t x1, vcoord_t y1, vcoord_t x2, vcoord_t y2);
#endif /* CONFIG_GFX_VCOORDS */
-#endif /* MWARE_GFX_H */
+#endif /* GFX_GFX_H */
/*!
* \file
* <!--
- * Copyright 2003, 2004 Develer S.r.l. (http://www.develer.com/)
+ * Copyright 2003, 2004, 2005 Develer S.r.l. (http://www.develer.com/)
* Copyright 1999 Bernardo Innocenti <bernie@develer.com>
* This file is part of DevLib - See README.devlib for information.
* -->
/*#*
*#* $Log$
+ *#* Revision 1.2 2005/11/04 18:17:45 bernie
+ *#* Fix header guards and includes for new location of gfx module.
+ *#*
*#* Revision 1.1 2005/11/04 18:11:35 bernie
*#* Move graphics stuff from mware/ to gfx/.
*#*
*#* documentation fixes
*#*/
-#include "gfx.h"
-#include "font.h"
-#include "text.h"
+#include <gfx/gfx.h>
+#include <gfx/font.h>
+#include <gfx/text.h>
#include <cfg/debug.h>
/*#*
*#* $Log$
+ *#* Revision 1.2 2005/11/04 18:17:45 bernie
+ *#* Fix header guards and includes for new location of gfx module.
+ *#*
*#* Revision 1.1 2005/11/04 18:11:35 bernie
*#* Move graphics stuff from mware/ to gfx/.
*#*
*#*
*#*/
-#ifndef MWARE_TEXT_H
-#define MWARE_TEXT_H
+#ifndef GFX_TEXT_H
+#define GFX_TEXT_H
#include <cfg/compiler.h>
#include <cfg/macros.h> /* BV() */
int text_widthf_P(struct Bitmap *bm, const char * PROGMEM fmt, ...);
#endif /* CPU_HARVARD */
-#endif /* MWARE_TEXT_H */
+#endif /* GFX_TEXT_H */
/*#*
*#* $Log$
+ *#* Revision 1.2 2005/11/04 18:17:45 bernie
+ *#* Fix header guards and includes for new location of gfx module.
+ *#*
*#* Revision 1.1 2005/11/04 18:11:35 bernie
*#* Move graphics stuff from mware/ to gfx/.
*#*
*#*
*#*/
-#include "text.h"
-#include "formatwr.h" /* _formatted_write() */
-#include "font.h"
-#include "gfx.h"
+#include <gfx/text.h>
+#include <gfx/font.h>
+#include <gfx/gfx.h>
+#include <mware/formatwr.h> /* _formatted_write() */
+
#include <stdio.h> /* vsprintf() */
#include <stdarg.h>
#include <string.h> /* strlen() */