X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=mware%2Ffont.h;h=cdc0142a2500b5c687fe6586ca5176830bde8a4b;hb=b3a25d5dc805f7f92262a2156d82b0cf5a9e5492;hp=a86c537be017ef574ec247316bf3c59b8d6cd14a;hpb=96f0ef786b54356c56cc3d4e4f0838df2505cfcc;p=bertos.git diff --git a/mware/font.h b/mware/font.h index a86c537b..cdc0142a 100755 --- a/mware/font.h +++ b/mware/font.h @@ -1,8 +1,8 @@ /*! * \file * * * \version $Id$ @@ -12,31 +12,45 @@ * \brief Font 8x6 IBM-PC 8bit */ -/* - * $Log$ - * 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. - * - * Revision 1.2 2004/03/24 15:48:53 bernie - * Remove Copyright messages from Doxygen output - * - * Revision 1.1 2004/01/13 12:15:28 aleph - * Move font table in program memory; add font.h - * - */ -#ifndef FONT_H -#define FONT_H +/*#* + *#* $Log$ + *#* Revision 1.5 2005/03/01 23:26:45 bernie + *#* Use new CPU-neutral program-memory API. + *#* + *#* Revision 1.4 2004/12/31 16:42:55 bernie + *#* Sanitize for non-Harvard processors. + *#* + *#* Revision 1.3 2004/08/25 14:12:09 rasky + *#* Aggiornato il comment block dei log RCS + *#* + *#* 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. + *#* + *#* Revision 1.2 2004/03/24 15:48:53 bernie + *#* Remove Copyright messages from Doxygen output + *#* + *#* Revision 1.1 2004/01/13 12:15:28 aleph + *#* Move font table in program memory; add font.h + *#* + *#*/ +#ifndef MWARE_FONT_H +#define MWARE_FONT_H -#include "avr/pgmspace.h" +#include /* uint8_t */ +#include /* PROGMEM */ -/* Font size (in pixel) */ -#define FONT_WIDTH 6 -#define FONT_HEIGHT 8 +/*! + * \name Font size (in pixel) + * \{ + */ +#define FONT_WIDTH 6 +#define FONT_HEIGHT 8 +/* \} */ /*! Font table */ -extern const prog_uchar font[256 * FONT_WIDTH]; +extern const PROGMEM uint8_t font[256 * FONT_WIDTH]; -#endif /* FONT_H */ +#endif /* MWARE_FONT_H */