Revert wrongly committed file.
[bertos.git] / bertos / gfx / font.h
index badb568219be02ddfac7d16320c02c96d948059e..4b28de697dfae1d2102ec31505daa290cade0483 100644 (file)
  *
  * -->
  *
- * \version $Id$
+ * \brief Font 8x6 IBM-PC 8bit
+ *
  *
  * \author Stefano Fedrigo <aleph@develer.com>
  *
- * \brief Font 8x6 IBM-PC 8bit
  */
 
 #ifndef GFX_FONT_H
 #define GFX_FONT_H
 
-#include <cfg/compiler.h> /* uint8_t */
-#include <mware/pgm.h> /* PROGMEM */
+#include <cfg/compiler.h>  /* uint8_t */
+#include <cpu/pgm.h>     /* PROGMEM */
 
 typedef struct Font
 {
@@ -51,7 +51,7 @@ typedef struct Font
         * Data is an array of at most 256 glyphs packed together.
         * Raster format must be the same of the bitmap.
         */
-       const PROGMEM uint8_t *glyph;
+       const pgm_uint8_t *glyph;
 
        uint8_t width;     /**< Pixel width of character cell. */
        uint8_t height;    /**< Pixel height of character cell. */
@@ -60,8 +60,8 @@ typedef struct Font
        uint8_t last;      /**< Last encoded character in glyph array (inclusive). */
 
        /** Array of glyph offsets in bytes. NULL for fixed-width fonts. */
-       const PROGMEM uint16_t *offset;
-       const PROGMEM uint8_t *widths;
+       const pgm_uint16_t *offset;
+       const pgm_uint8_t  *widths;
 
 } Font;