X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=mware%2Ftext.c;h=ae8669cef75b4d1ed1f9a29bb3091919b56fdd0d;hb=344e6430515e678c2b6c9f09f7b7587836d13449;hp=a68b7bbbadc846ce8185fc2f9174f08a5bbb9943;hpb=06fb3ccbb85123294fefea89dba817543a340fea;p=bertos.git diff --git a/mware/text.c b/mware/text.c index a68b7bbb..ae8669ce 100755 --- a/mware/text.c +++ b/mware/text.c @@ -16,11 +16,11 @@ /*#* *#* $Log$ - *#* Revision 1.4 2004/08/29 22:04:53 bernie - *#* Fix Doxygen markup and indentation. + *#* Revision 1.6 2004/09/14 20:57:15 bernie + *#* Use debug.h instead of kdebug.h. *#* - *#* Revision 1.3 2004/08/25 14:12:09 rasky - *#* Aggiornato il comment block dei log RCS + *#* Revision 1.5 2004/09/06 21:51:26 bernie + *#* Extend interface to allow any algorithmic style. *#* *#* Revision 1.2 2004/06/03 11:27:09 bernie *#* Add dual-license information. @@ -53,7 +53,7 @@ #include "gfx.h" #include "font.h" #include "text.h" -#include +#include /*! * Flags degli stili algoritmici @@ -239,6 +239,12 @@ void text_clear(struct Bitmap *bmp) } +void text_clearLine(struct Bitmap *bmp, int line) +{ + gfx_ClearRect(bmp, 0, line * FONT_HEIGHT, bmp->width, (line + 1) * FONT_HEIGHT); +} + + /*! * Set/clear algorithmic font style bits. *