X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=mware%2Ftext.h;h=d064215f26453dc9821c9d6f9180afcab1cdfa75;hb=edce74d23db44bb7857440e8144484dc73c22ee9;hp=2cd1cacf7c1e2a83b1f09dd01dc48d1ac880b177;hpb=37d3acaa622b7f695ce57578e56311d031a22d22;p=bertos.git diff --git a/mware/text.h b/mware/text.h index 2cd1cacf..d064215f 100755 --- a/mware/text.h +++ b/mware/text.h @@ -1,98 +1,115 @@ /*! * \file - * Copyright (C) 1999 Bernardo Innocenti - * Copyright (C) 2003 Develer S.r.l. (http://www.develer.com/) - * All Rights Reserved. + * * - * \version $Id$ + * \brief Text graphic routines (interface) * * \author Bernardo Innocenti * \author Stefano Fedrigo - * - * \brief Text graphic routines + * \version $Id$ */ -/* - * $Log$ - * Revision 1.1 2004/05/23 15:43:16 bernie - * Import mware modules. - * - * Revision 1.9 2004/04/03 20:42:49 aleph - * Add text_clear() - * - * Revision 1.8 2004/03/19 16:52:28 bernie - * Move printf() like functions from text.c to text_format.c and add PROGMEM versions. - * - * Revision 1.7 2004/03/17 17:30:30 bernie - * Add GCC format checks to printf()-like functions. - * - * Revision 1.6 2004/02/21 21:40:20 aleph - * Various small fixes - * - * Revision 1.5 2004/02/18 11:50:10 aleph - * Add right alignment to xprintf - * - * Revision 1.4 2004/01/13 12:15:28 aleph - * Move font table in program memory; add font.h - * - * Revision 1.3 2004/01/13 00:06:47 aleph - * Fix clipping and ANSI esc bug, add text_xprintf() - * - * Revision 1.2 2004/01/08 18:03:12 aleph - * Add text functions to set coordinates - * - * Revision 1.1 2004/01/07 23:31:54 aleph - * Add text routines - * - */ +/*#* + *#* $Log$ + *#* Revision 1.9 2004/12/31 16:44:29 bernie + *#* Sanitize for non-Harvard processors. + *#* + *#* Revision 1.8 2004/10/03 20:43:37 bernie + *#* Import changes from project_ks. + *#* + *#* Revision 1.7 2004/09/20 03:28:49 bernie + *#* Fix header; Conditionalize AVR-specific code. + *#* + *#* Revision 1.6 2004/09/14 20:57:30 bernie + *#* Reformat. + *#* + *#* Revision 1.5 2004/09/06 21:51:26 bernie + *#* Extend interface to allow any algorithmic style. + *#* + *#* Revision 1.4 2004/08/25 14:12:09 rasky + *#* Aggiornato il comment block dei log RCS + *#* + *#* Revision 1.3 2004/08/05 18:46:44 bernie + *#* Documentation improvements. + *#* + *#* Revision 1.2 2004/06/03 11:27:09 bernie + *#* Add dual-license information. + *#* + *#*/ + +#ifndef MWARE_TEXT_H +#define MWARE_TEXT_H -#ifndef TEXT_H -#define TEXT_H +#include +#include /* BV() */ +#include /* CPU_HARVARD */ -#include "compiler.h" #include -/* Style flags */ +/*! + * \name Style flags + * \see text_style() + * \{ + */ #define STYLEF_BOLD BV(0) #define STYLEF_ITALIC BV(1) #define STYLEF_UNDERLINE BV(2) #define STYLEF_INVERT BV(3) #define STYLEF_EXPANDED BV(4) #define STYLEF_CONDENSED BV(5) -#define STYLEF_STRIKEOUT BV(6) /* Not implemented */ +#define STYLEF_STRIKEOUT BV(6) /*